#Maintainer: Dimitris Tzemos pkgname=g15daemon pkgver=1.9.5.3 pkgrel=1dj source=("http://mesh.dl.sourceforge.net/project/g15daemon/G15Daemon%201.9x/1.9.5.3/g15daemon-1.9.5.3.tar.bz2" "rc.g15daemon") docs=("ChangeLog" "FAQ" "LICENSE" "TODO" "README.usage" "README.Linux" "AUTHORS" "NEWS" "README" "README.FreeBSD" "README.Solaris") url=http://www.g15tools.com options=('noautodotnew') slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "G15Daemon (G15 keyboard driver)" "The G15daemon is a userspace driver/multiplexer for the keyboard" "and its LCD, using libg15 for low-level keyboard control." "Homepage: http://www.g15tools.com" ) build() { cd $startdir/src/$pkgname-$pkgver ./configure --prefix=/usr --libdir=/usr/lib${LIBDIRSUFFIX} --localstatedir=/var --sysconfdir=/etc --disable-static make -j $numjobs || return 1 make install DESTDIR=$startdir/pkg || return 1 # Install init script mkdir -p $startdir/pkg/etc/rc.d || return 1 cat $startdir/src/rc.$pkgname > $startdir/pkg/etc/rc.d/rc.$pkgname || return 1 chmod 0755 $startdir/pkg/etc/rc.d/rc.$pkgname || return 1 rm -rf $startdir/pkg/usr/share/doc || return 1 chown -R root:root $startdir/pkg }