summaryrefslogtreecommitdiff
path: root/user/xcb-util-image
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-09 00:11:09 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-09 00:11:09 -0500
commit0d15c9546847c8b94f756ee80d3661f5cb79342a (patch)
tree82a54dd886f4556388b35fe3a921fd9ff1f65ef2 /user/xcb-util-image
parentbcbea0a7befadbe049f96181dad4166d27920883 (diff)
downloadpackages-0d15c9546847c8b94f756ee80d3661f5cb79342a.tar.gz
packages-0d15c9546847c8b94f756ee80d3661f5cb79342a.tar.bz2
packages-0d15c9546847c8b94f756ee80d3661f5cb79342a.tar.xz
packages-0d15c9546847c8b94f756ee80d3661f5cb79342a.zip
user/xcb-util-image: pull in, take, fix
Diffstat (limited to 'user/xcb-util-image')
-rw-r--r--user/xcb-util-image/APKBUILD42
1 files changed, 42 insertions, 0 deletions
diff --git a/user/xcb-util-image/APKBUILD b/user/xcb-util-image/APKBUILD
new file mode 100644
index 000000000..cd4ffccb2
--- /dev/null
+++ b/user/xcb-util-image/APKBUILD
@@ -0,0 +1,42 @@
+# Contributor: Natanael Copa <ncopa@alpinelinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=xcb-util-image
+pkgver=0.4.0
+pkgrel=1
+pkgdesc="X C-language Binding - port of Xlib XImage and XShmImage"
+url="https://xcb.freedesktop.org/"
+arch="all"
+license="MIT"
+depends=""
+depends_dev="xcb-util-dev"
+makedepends="$depends_dev m4 util-macros"
+checkdepends="check-dev"
+replaces="xcb-util"
+subpackages="$pkgname-dev"
+source="https://xcb.freedesktop.org/dist/xcb-util-image-$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="2e580d205e4a054763146c70d735014c7e018322a43c76b07a306c091dca81b140cbbf6db41252e9204ff742f119b69e143b3fdc1fb13bd9d0b9e8e22eda2cd3 xcb-util-image-0.4.0.tar.gz"