diff options
author | Leonardo Arena <rnalrd@alpinelinux.org> | 2017-06-01 11:26:45 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2017-06-01 11:27:39 +0000 |
commit | bd2a996a6f92ad73c99bcf9a10d5b6e0b2ef775d (patch) | |
tree | 92d4d5c51418df5eaddd0b1cea61118891545429 /testing/cups-pdf/APKBUILD | |
parent | 3cb9917a4d106551b92aecdc8d7ea96816b98504 (diff) | |
download | aports-bd2a996a6f92ad73c99bcf9a10d5b6e0b2ef775d.tar.bz2 aports-bd2a996a6f92ad73c99bcf9a10d5b6e0b2ef775d.tar.xz |
testing/cups-pdf: new aport
Diffstat (limited to 'testing/cups-pdf/APKBUILD')
-rw-r--r-- | testing/cups-pdf/APKBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/testing/cups-pdf/APKBUILD b/testing/cups-pdf/APKBUILD new file mode 100644 index 0000000000..c89b94c262 --- /dev/null +++ b/testing/cups-pdf/APKBUILD @@ -0,0 +1,29 @@ +# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org> +pkgname=cups-pdf +pkgver=3.0.1 +pkgrel=0 +pkgdesc="CUPS PDF printer" +url="http://cups-pdf.de" +arch="all" +license="GPL" +makedepends="cups-dev" +options="!check" +pkgusers="lp" +pkggroups="lp" +source="http://cups-pdf.de/src/cups-pdf_$pkgver.tar.gz" +builddir="$srcdir"/$pkgname-$pkgver + +build() { + cd "$builddir/src" + gcc -Os -s cups-pdf.c -o cups-pdf -lcups +} + +package() { + cd "$builddir" + install -D -m755 src/cups-pdf "$pkgdir"/usr/lib/cups/backend/cups-pdf + install -D -m644 extra/cups-pdf.conf "$pkgdir"/etc/cups/cups-pdf.conf + install -D -m644 extra/CUPS-PDF_opt.ppd "$pkgdir"/usr/share/ppd/cups-pdf/cups-pdf.ppd + install -d -o lp -g lp "$pkgdir"/var/spool/cups-pdf +} + +sha512sums="a06580f3056dddbb883c8db0c71b37b883482ae1ac8aa9bcfd85e679c4dcb44278006b7110d2988173d0eeb05b0f19fb39081fad49bf26839235e97fbe27a818 cups-pdf_3.0.1.tar.gz" |