diff options
-rw-r--r-- | user/xpr/APKBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/user/xpr/APKBUILD b/user/xpr/APKBUILD new file mode 100644 index 000000000..a8980c5c4 --- /dev/null +++ b/user/xpr/APKBUILD @@ -0,0 +1,37 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=xpr +pkgver=1.0.5 +pkgrel=0 +pkgdesc="Format an X11 window dump from xwd(1) for printing" +url="https://www.X.Org/" +arch="all" +license="X11 AND MIT" +depends="" +makedepends="libx11-dev libxmu-dev util-macros xorgproto-dev" +subpackages="$pkgname-doc" +source="https://www.x.org/releases/individual/app/xpr-$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="d5dfb936ec4ad0067d02654dec8e862fe337ff6a2c2f974b2b3a612a829c2e728a0d51e7aba00ed2a94dc96dc50cc69f2c59f522e0635013f5f4f5bb3f4ab967 xpr-1.0.5.tar.bz2" |