blob: a863665fbff1b5d9209c9c2264b378d6ac405b87 (
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
36
37
38
39
40
41
42
43
|
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
pkgname=foo2zjs
pkgver=20150704
pkgrel=0
pkgdesc="a linux printer driver for XQX stream protocol"
url="http://foo2xqx.rkkda.com/"
arch="all"
license="GPL"
depends=""
depends_dev=""
makedepends="$depends_dev ghostscript-dev bc coreutils groff cups-dev
foomatic-db-engine"
install=""
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::http://foo2zjs.rkkda.com/foo2zjs.tar.gz"
_builddir="$srcdir/$pkgname"
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
make -j1 || return 1
}
package() {
cd "$_builddir"
mkdir -p "$pkgdir"/usr/lib/cups/filter/
make -j1 DESTDIR="$pkgdir" install || return 1
}
md5sums="2c16316720c1cc29fb3644284e2a57b7 foo2zjs-20150704.tar.gz"
sha256sums="6ba509fd20e70ec511f48e7627ffa1bb14d8cbe390a71923e00c10e649000e8b foo2zjs-20150704.tar.gz"
sha512sums="33ae74428f9d100723a4aae96a678ba818a2e72c34de1d2ea7eeb1b39b8633d1c380e067a15e63ebe38d54e5483e61d2c936cdf8541b0b085d6f844540f0febc foo2zjs-20150704.tar.gz"
|