summaryrefslogtreecommitdiffstats
path: root/arch/3.5.13_broken/trinity-wlassistant/PKGBUILD
blob: e051328fe1c3ac8db1027735b2ee0167d3df0a1d (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
# Maintainer: Calvin Morrison <mutantturkey@gmail.com>

pkgname=trinity-wlassistant
pkgver=3513
pkgrel=1

arch=('i686' 'x86_64')

url='http://www.trinitydesktop.org'
license=('GPL')
groups=('trinity')
pkgdesc="Trinity - wlassistant"

depends=('trinity-kdelibs' 'trinity-pyqt3')
makedepends=('pkgconfig' 'autoconf' 'automake' 'scons')

options=('libtool' '!strip')

source=(http://mirror.its.uidaho.edu/pub/trinity/releases/3.5.13/applications/wlassistant-3.5.13.tar.gz)
md5sums=('1fd3680a634fedee3c2d90b81c1ffe23')

_builddir=applications/wlassistant
_prefix=/opt/trinity

build() {

  msg "Setting Trinity Environment variables"
  export LD_LIBRARY_PATH=${_prefix}/lib:${_prefix}/lib/trinity:$LD_LIBRARY_PATH
  export PKG_CONFIG_PATH=${_prefix}/lib/pkgconfig:${QTDIR}/lib/pkgconfig

  cd ${srcdir}/${_builddir}
  msg "Starting configure..."
  ./configure --qtdir=${QTDIR} \
     --qtlibs=${QTDIR}/lib \
     --kdedir=${_prefix} \
     --prefix=${_prefix} \
     --kdeincludes=${_prefix}/include \
     --kde-libs=${_prefix}/lib

  msg "Building ${pkgname}..."
  make
}

package() {
  msg "Packaging - $pkgname-$pkgver"
  cd ${srcdir}/${_builddir}
  make DESTDIR="${pkgdir}" install
}