diff options
-rw-r--r-- | user/gutenprint/APKBUILD | 39 | ||||
-rw-r--r-- | user/gutenprint/gutenprint.post-install | 3 | ||||
l--------- | user/gutenprint/gutenprint.post-upgrade | 1 |
3 files changed, 43 insertions, 0 deletions
diff --git a/user/gutenprint/APKBUILD b/user/gutenprint/APKBUILD new file mode 100644 index 000000000..ae768304b --- /dev/null +++ b/user/gutenprint/APKBUILD @@ -0,0 +1,39 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=gutenprint +pkgver=5.2.14 +pkgrel=0 +pkgdesc="Open source printer drivers" +url="http://gimp-print.sourceforge.net/" +arch="all" +options="!check" # Times out even on 64-thread POWER9. +license="GPL-2.0-only" +depends="" +makedepends="cups-dev" +subpackages="$pkgname-dev $pkgname-doc $pkgname-lang $pkgname-libs" +install="$pkgname.post-install $pkgname.post-upgrade" +source="https://downloads.sourceforge.net/gimp-print/gutenprint-$pkgver.tar.bz2" + +build() { + cd "$builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var + make +} + +check() { + cd "$builddir" + make check +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="aeb06b4be45fcb67320b419b988ca59dbda51bb2c3ff4edd0f0757ac977565a6829f506ebea6872211c689a15925ad2119836424c3c9a97345a8cd506e9df9fd gutenprint-5.2.14.tar.bz2" diff --git a/user/gutenprint/gutenprint.post-install b/user/gutenprint/gutenprint.post-install new file mode 100644 index 000000000..73b2413a8 --- /dev/null +++ b/user/gutenprint/gutenprint.post-install @@ -0,0 +1,3 @@ +#!/bin/sh + +cups-genppdupdate diff --git a/user/gutenprint/gutenprint.post-upgrade b/user/gutenprint/gutenprint.post-upgrade new file mode 120000 index 000000000..ea76bff16 --- /dev/null +++ b/user/gutenprint/gutenprint.post-upgrade @@ -0,0 +1 @@ +gutenprint.post-install
\ No newline at end of file |