mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
28 lines
938 B
Bash
28 lines
938 B
Bash
# Maintainer: Wieland Hoffmann <the_mineo@web.de>
|
|
# Contributor: G_Syme <demichan(at)mail(dot)upb(dot)de>
|
|
|
|
plugrel=1
|
|
|
|
pkgname=p910nd
|
|
pkgver=0.95
|
|
pkgrel=1
|
|
pkgdesc="A small printer daemon intended for diskless workstations that passes jobs directly to the printer"
|
|
arch=('i686' 'x86_64')
|
|
url="http://p910nd.sourceforge.net"
|
|
license=('GPL2')
|
|
backup=('etc/conf.d/p910nd')
|
|
options=('emptydirs')
|
|
source=(http://downloads.sf.net/$pkgname/$pkgname-$pkgver.tar.bz2 \
|
|
$pkgname.init)
|
|
|
|
build() {
|
|
cd $srcdir/$pkgname-$pkgver
|
|
sed -e "s|/var/lock/subsys|/var/lock/$pkgname|" -i $pkgname.c
|
|
make CONFIGDIR=/etc/conf.d SCRIPTDIR=/etc/rc.d
|
|
make CONFIGDIR=/etc/conf.d SCRIPTDIR=/etc/rc.d DESTDIR=$pkgdir install
|
|
install -m755 $srcdir/$pkgname.init $pkgdir/etc/rc.d/$pkgname
|
|
install -d -m755 $pkgdir/var/lock/$pkgname
|
|
chmod 1777 $pkgdir/var/lock
|
|
}
|
|
md5sums=('c7ac6afdf7730ac8387a8e87198d4491'
|
|
'e44be17ad714c366300289cb8aaa3f3a')
|