summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-01 08:34:22 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-01 08:34:22 +0000
commit78d3b7e0cc1fd358effd9339709efe216accd803 (patch)
tree20513ea6cb62ac322297d6956541c8233e7eaefa
parent509a4a3b332e58bf99b52b7ef33eb1ddd94c776b (diff)
downloadpackages-78d3b7e0cc1fd358effd9339709efe216accd803.tar.gz
packages-78d3b7e0cc1fd358effd9339709efe216accd803.tar.bz2
packages-78d3b7e0cc1fd358effd9339709efe216accd803.tar.xz
packages-78d3b7e0cc1fd358effd9339709efe216accd803.zip
user/xpr: new package
-rw-r--r--user/xpr/APKBUILD37
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"