diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-07-22 05:22:48 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-07-22 05:22:48 -0500 |
commit | bd6cfbc4b57664b0ca6cce0e7c7f4189b91c5772 (patch) | |
tree | 683c1045e7bc697c7b74897d5b5b98e037212aaa /user/xcb-util-cursor/APKBUILD | |
parent | f6c3e5d6eacb918d34fb399f9a21d3a657aab525 (diff) | |
download | packages-bd6cfbc4b57664b0ca6cce0e7c7f4189b91c5772.tar.gz packages-bd6cfbc4b57664b0ca6cce0e7c7f4189b91c5772.tar.bz2 packages-bd6cfbc4b57664b0ca6cce0e7c7f4189b91c5772.tar.xz packages-bd6cfbc4b57664b0ca6cce0e7c7f4189b91c5772.zip |
user/xcb-util-cursor: pull in, take, modernise
Diffstat (limited to 'user/xcb-util-cursor/APKBUILD')
-rw-r--r-- | user/xcb-util-cursor/APKBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/user/xcb-util-cursor/APKBUILD b/user/xcb-util-cursor/APKBUILD new file mode 100644 index 000000000..76f6d2016 --- /dev/null +++ b/user/xcb-util-cursor/APKBUILD @@ -0,0 +1,41 @@ +# Contributor: Natanael Copa <ncopa@alpinelinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=xcb-util-cursor +pkgver=0.1.3 +pkgrel=1 +pkgdesc="X C-language Binding - cursor library" +url="https://xcb.freedesktop.org/" +arch="all" +license="MIT" +depends="" +depends_dev="xcb-util-dev" +makedepends="$depends_dev m4 util-macros xcb-util-image-dev xcb-util-renderutil-dev" +checkdepends="check-dev" +subpackages="$pkgname-dev" +source="https://xcb.freedesktop.org/dist/xcb-util-cursor-$pkgver.tar.gz" + +build() { + cd "$builddir" + export CFLAGS="$CFLAGS -std=gnu99" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --localstatedir=/var + make +} + +check() { + cd "$builddir" + make check +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="7be0950d9cef455e504ef5ac6c1872cc05bb27d1a8c844e0ddb19d718145ec05891315af6237e46ba615d01edc2d152c8901c8bc644a386d10757352a77fc57f xcb-util-cursor-0.1.3.tar.gz" |