1 # Contributor: fancris3 <fancris3 at aol.com>
6 pkgdesc="a resource manager for unprivileged user access to device files."
8 install=(resmgr.install)
9 url="http://forge.novell.com/modules/xfmod/project/?resmgr"
10 #url="http://www.lst.de/~okir/resmgr/"
13 makedepends=('rpmextract' 'bzip2' 'automake' 'autoconf')
14 backup=('/etc/resmgr.conf/resmgr.conf' '/etc/resmgr.conf/99-desktop.conf')
15 source=(ftp://ftp.univie.ac.at/systems/linux/suse/update/10.2/rpm/src/\
16 ${pkgname}-${pkgver}${_nsvn}-9.2.src.rpm resmgr patch.arch)
17 md5sums=('31b74ff4c73e969955c8976f1e865a7f' '838401a9c88ffcd7519f72e6806de388'\
18 '818dbc8c02874b8c4cf70fc11f5928e4')
22 rpmextract.sh ${pkgname}-${pkgver}${_nsvn}-9.2.src.rpm
23 bunzip2 -f ${pkgname}-${pkgver}${_nsvn}.tar.bz2
24 tar -xf ${pkgname}-${pkgver}${_nsvn}.tar
25 cd ${pkgname}-${pkgver}${_nsvn}
27 patch -Np1 -i ../patch.arch
29 ./configure --libdir=/lib \
32 --sysconfdir=/etc/resmgr.conf \
38 mkdir -p $startdir/pkg/etc/rc.d
39 install -m 755 $startdir/src/${pkgname} ${startdir}/pkg/etc/rc.d/
41 make DESTDIR=$startdir/pkg install