From cfa49905e3e4b021c8b882ca142efe22142d5291 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Tue, 1 Jan 2019 09:33:25 +0000 Subject: user/xwud: new package --- user/xwud/APKBUILD | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 user/xwud/APKBUILD (limited to 'user/xwud') 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 +# Maintainer: A. Wilcox +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" -- cgit v1.2.3-70-g09d2