updated on Sun Jan 22 04:03:10 UTC 2012
[aur-mirror.git] / lapsus / PKGBUILD
blob6aef96fe8724abb339b6a6a2744e11a9203e4da7
1 # Contributor: Jakub Schmidtke <sjakub-at-gmail.com>
3 pkgname=lapsus
4 pkgver=0.0.6
5 pkgrel=3
6 pkgdesc="Controls additional features of Asus and IBM laptops in KDE3 environment (using appropriate kernel modules)."
7 arch=('i686' 'x86_64')
8 url="http://lapsus.berlios.de"
9 license=('GPL')
10 depends=('dbus' 'qt3' 'kdelibs3' 'alsa-lib')
11 install=lapsus.install
12 source=(http://download.berlios.de/lapsus/lapsus-${pkgver}.tar.bz2
13         lapsus.rc_script)
14 md5sums=('1013b513ba0ddb9cc82dbb9bb373c8ab'
15          '78ea871f3a87d24166f3c1d344391b9c')
17 build() {
18   . /etc/profile.d/qt3.sh
19   PATH=$QTDIR/bin:$PATH
20   
21   export PKG_CONFIG_PATH=/usr/lib/pkgconfig/:$PKG_CONFIG_PATH
23   cd ${startdir}/src/${pkgname}-${pkgver}
24   ./configure --without-arts
25   make || return 1
26   make DESTDIR=${startdir}/pkg install
28   install -D -m0644 lapsus.conf $startdir/pkg/etc/dbus-1/system.d/lapsus.conf
29   install -D -m0755 ${startdir}/lapsus.rc_script $startdir/pkg/etc/rc.d/lapsusd