summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-01 09:33:25 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-01 09:33:25 +0000
commitcfa49905e3e4b021c8b882ca142efe22142d5291 (patch)
tree65524eaa4df67c4be0bb453640274c25d80bb662 /user
parent8aafced6d3a3338e2acae5bcfe7271ab653be6d5 (diff)
downloadpackages-cfa49905e3e4b021c8b882ca142efe22142d5291.tar.gz
packages-cfa49905e3e4b021c8b882ca142efe22142d5291.tar.bz2
packages-cfa49905e3e4b021c8b882ca142efe22142d5291.tar.xz
packages-cfa49905e3e4b021c8b882ca142efe22142d5291.zip
user/xwud: new package
Diffstat (limited to 'user')
-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"