aboutsummaryrefslogtreecommitdiffstats
path: root/testing/p910nd/APKBUILD
blob: f5208b343ef75719e439d530caad1c55cfdb11dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=p910nd
pkgver=0.97
pkgrel=0
pkgdesc="Non-spooling printer daemon"
url="http://p910nd.sourceforge.net/"
arch="all"
license="GPL"
options="!check"
subpackages="$pkgname-doc $pkgname-openrc"
source="http://downloads.sf.net/$pkgname/$pkgname-$pkgver.tar.bz2
$pkgname.initd
$pkgname.confd
fix-paths.patch"
builddir="$srcdir/$pkgname-$pkgver"

build() {
	cd "$builddir"
	make
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
	install -D -m755 "$srcdir"/$pkgname.initd \
		"$pkgdir"/etc/init.d/$pkgname
	install -D -m644 "$srcdir"/$pkgname.confd \
		"$pkgdir"/etc/conf.d/$pkgname
}

sha512sums="077078f5e5bc26c8fb9a4b5b02c7551db71d807b15417b79771ea876472f9af7129d68f8011b243279ec0967ff2e8a6838f5caff68502a1d2a8f7bffe6da84a5  p910nd-0.97.tar.bz2
6c8f0208b4589dec1945fcbc4c649c46936e54abc50e35ad5916de934ead0f34b020ef2f48ca2ca6051ca4a9c09e1ac4ff563fc134d11e39f82115f8661c588f  p910nd.initd
78a2593982ea9cd8df4dc9d6e6a9a37ace3a2eea0919b74448722a5fe877b9834eb5c725e5194081f8c75ab4a032690691bfa76883a73e276aa8fa4681a793bc  p910nd.confd
c6ec4fce1c8973ad27bc8e52e4440ab0aaa2bc527323484293eb1e3d163a29909c41ac4d18ed89818fc3d8f6b0bb65a289721ee10b431f4a86977cf96fbc4d53  fix-paths.patch"