#Maintainer: George Vlahavas pkgname=salixtools pkgver=1.11.2 pkgrel=1gv arch=noarch source=("salixtools-$pkgver.tar.xz") docs=("COPYING" "INSTALL" "changelog*") options=('nosrcpack' 'noautodotnew') dotnew=('etc/salixtools/repos-custom') doinst() { if [ ! -x etc/rc.d/rc.numlock ]; then chmod 644 etc/rc.d/rc.numlock.new else chmod 755 etc/rc.d/rc.numlock.new fi mv -f etc/rc.d/rc.numlock.new etc/rc.d/rc.numlock } slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "salixtools (various system utilities)" "This package includes tools related to system administration that can" "be used from the linux terminal." ) build() { cd $startdir/src/$pkgname-$pkgver make make install DESTDIR=$startdir/pkg mv $startdir/pkg/etc/rc.d/rc.numlock $startdir/pkg/etc/rc.d/rc.numlock.new }