diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-01-01 09:31:03 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-01-01 09:31:03 +0000 |
commit | 8aafced6d3a3338e2acae5bcfe7271ab653be6d5 (patch) | |
tree | 2df041887aee688a22f0da8fca7184cc4a5014b3 /user | |
parent | 45de31beffc71b3b6163e874fbc5a8c3a6a377f1 (diff) | |
download | packages-8aafced6d3a3338e2acae5bcfe7271ab653be6d5.tar.gz packages-8aafced6d3a3338e2acae5bcfe7271ab653be6d5.tar.bz2 packages-8aafced6d3a3338e2acae5bcfe7271ab653be6d5.tar.xz packages-8aafced6d3a3338e2acae5bcfe7271ab653be6d5.zip |
user/xwd: new package
Diffstat (limited to 'user')
-rw-r--r-- | user/xwd/APKBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/user/xwd/APKBUILD b/user/xwd/APKBUILD new file mode 100644 index 000000000..c7bd606be --- /dev/null +++ b/user/xwd/APKBUILD @@ -0,0 +1,37 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=xwd +pkgver=1.0.7 +pkgrel=0 +pkgdesc="Dump the contents of an X11 window to a file" +url="https://www.X.Org/" +arch="all" +license="X11 AND MIT" +depends="" +makedepends="libx11-dev libxkbfile-dev util-macros xorgproto-dev" +subpackages="$pkgname-doc" +source="https://www.x.org/releases/individual/app/xwd-$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="6fdb0a115ae505169bbc7fcc45580daf26bced2e26e0bf9a877636016038931a8386e8edcbe015f4024be508d0461906adef4834cf22a445e3c282f0b8fad17e xwd-1.0.7.tar.bz2" |