diff options
Diffstat (limited to 'user/xwd/APKBUILD')
-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" |