blob: 39cd71d5f3f81c0f2f4ff27b279d51444e166080 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
# Maintainer: Michael Manley <[email protected]>
# Contributor: Pawel 'l0ner' Soltys <[email protected]>
# Contributor: Calvin Morrison <[email protected]>
# Contributor: David C. Rankin <drankinatty at gmail dot com>
pkgname=tde-tdebindings
pkgver=14.0.5
pkgrel=1
arch=('i686' 'x86_64')
url='http://scm.trinitydesktop.org/scm/git/tdebindings'
license=('GPL')
groups=('tde-base')
pkgdesc="Trinity Desktop bindings"
depends=('tde-tdebase')
makedepends=('pkgconfig' 'cmake' 'python2')
options=('staticlibs' 'libtool' '!strip')
source=("http://mirror.ppa.trinitydesktop.org/trinity/releases/R${pkgver}/tdebindings-R${pkgver}.tar.bz2")
md5sums=('6ec6d2f34dfd4d7652f62807fdc269ea')
# install=''
build() {
## Generate config files and update with autoreconf
cd ${srcdir}/${pkgname#*-}
msg "Copying system libtool files...."
cp /usr/share/aclocal/libtool.m4 ./admin/libtool.m4.in
cp /usr/share/libtool/build-aux/ltmain.sh ./admin/ltmain.sh
msg "Running make -f admin/Makefile.common ...."
make -f admin/Makefile.common
## configure
msg "Configuring - ${pkgname}..."
PYTHON=/usr/bin/python2 \
./configure \
--prefix=${TDEDIR} \
--with-qt-dir=${QTDIR} \
--with-qt-includes=${QTDIR}/include \
--with-qt-libraries=${QTDIR}/lib \
--with-extra-includes="/usr/include/tqt:/usr/include/tqt/Qt" \
--with-extra-libs="${TDEDIR}/lib:${TDEDIR}/lib/trinity" \
--sysconfdir=${TDEDIR}/etc \
--localstatedir=/var \
--enable-closure
msg "Building - ${pkgname}..."
make $NUMJOBS
}
package() {
msg "Packaging - $pkgname-$pkgver"
cd ${srcdir}/${pkgname#*-}
make -j1 DESTDIR="${pkgdir}" install
}
|