summaryrefslogtreecommitdiff
path: root/user/xwud
diff options
context:
space:
mode:
Diffstat (limited to 'user/xwud')
-rw-r--r--user/xwud/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/user/xwud/APKBUILD b/user/xwud/APKBUILD
new file mode 100644
index 000000000..72f7e9e50
--- /dev/null
+++ b/user/xwud/APKBUILD
@@ -0,0 +1,37 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=xwud
+pkgver=1.0.5
+pkgrel=0
+pkgdesc="Display the contents of an X11 window dumped by xwd(1)"
+url="https://www.X.Org/"
+arch="all"
+license="X11"
+depends=""
+makedepends="libx11-dev util-macros xorgproto-dev"
+subpackages="$pkgname-doc"
+source="https://www.x.org/releases/individual/app/xwud-$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="27a0ce7481978ae6cd94b0d94374af72185e270d68f2496620e148bb00945427c4827138d9efc48745e6382e3da3390ed0cdff7dbd02dcf9706e8ecccae97184 xwud-1.0.5.tar.bz2"