diff options
Diffstat (limited to 'abs/core/xcb-util-image/PKGBUILD')
-rw-r--r-- | abs/core/xcb-util-image/PKGBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/abs/core/xcb-util-image/PKGBUILD b/abs/core/xcb-util-image/PKGBUILD new file mode 100644 index 0000000..54ed13d --- /dev/null +++ b/abs/core/xcb-util-image/PKGBUILD @@ -0,0 +1,34 @@ +# $Id$ +# Maintainer: Jan de Groot <jgc@archlinux.org> +# Maintainer: Andreas Radke <andyrtr@archlinux.org> + +pkgname=xcb-util-image +pkgver=0.4.0 +pkgrel=1 +pkgdesc="Utility libraries for XC Binding - Port of Xlib's XImage and XShmImage functions" +arch=('i686' 'x86_64') +url="http://xcb.freedesktop.org" +license=('custom') +depends=('libxcb>=1.7' 'xcb-util>=0.3.9') +makedepends=('xorg-util-macros') +source=("http://xcb.freedesktop.org/dist/${pkgname}-${pkgver}.tar.bz2") +sha256sums=('2db96a37d78831d643538dd1b595d7d712e04bdccf8896a5e18ce0f398ea2ffc') + +build() { + cd ${pkgname}-${pkgver} + ./configure --prefix=/usr --disable-static + make +} + +check() { + cd ${pkgname}-${pkgver} + make check +} + +package() { + cd ${pkgname}-${pkgver} + make DESTDIR="${pkgdir}" install + + install -D -m644 COPYING \ + ${pkgdir}/usr/share/licenses/${pkgname}/COPYING +} |