mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
aur/p910nd to 0.95-1
This commit is contained in:
parent
17df7386a6
commit
695d9fda95
1 changed files with 8 additions and 8 deletions
|
@ -1,9 +1,10 @@
|
|||
# Maintainer: Wieland Hoffmann <the_mineo@web.de>
|
||||
# Contributor: G_Syme <demichan(at)mail(dot)upb(dot)de>
|
||||
|
||||
plugrel=1
|
||||
|
||||
pkgname=p910nd
|
||||
pkgver=0.93
|
||||
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')
|
||||
|
@ -13,16 +14,15 @@ backup=('etc/conf.d/p910nd')
|
|||
options=('emptydirs')
|
||||
source=(http://downloads.sf.net/$pkgname/$pkgname-$pkgver.tar.bz2 \
|
||||
$pkgname.init)
|
||||
md5sums=('f668eace7f424953c3aa48afcb34c62b'
|
||||
'e44be17ad714c366300289cb8aaa3f3a')
|
||||
|
||||
build() {
|
||||
cd $srcdir/$pkgname-$pkgver
|
||||
# sed -e 's|/etc/sysconfig|/etc/conf.d|g' -i $pkgname.init || return 1
|
||||
sed -e "s|/var/lock/subsys|/var/lock/$pkgname|" -i $pkgname.c || return 1
|
||||
make CONFIGDIR=/etc/conf.d SCRIPTDIR=/etc/rc.d || return 1
|
||||
make CONFIGDIR=/etc/conf.d SCRIPTDIR=/etc/rc.d DESTDIR=$pkgdir install || return 1
|
||||
install -m755 $srcdir/$pkgname.init $pkgdir/etc/rc.d/$pkgname || return 1
|
||||
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')
|
||||
|
|
Loading…
Reference in a new issue