summaryrefslogtreecommitdiff
path: root/extra/xcb-util-renderutil/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/xcb-util-renderutil/PKGBUILD')
-rw-r--r--extra/xcb-util-renderutil/PKGBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/extra/xcb-util-renderutil/PKGBUILD b/extra/xcb-util-renderutil/PKGBUILD
new file mode 100644
index 000000000..be4789175
--- /dev/null
+++ b/extra/xcb-util-renderutil/PKGBUILD
@@ -0,0 +1,37 @@
+# $Id: PKGBUILD 144433 2011-12-05 19:49:29Z andyrtr $
+# Maintainer: Jan de Groot <jgc@archlinux.org>
+# Maintainer: Andreas Radke <andyrtr@archlinux.org>
+
+pkgname=xcb-util-renderutil
+pkgver=0.3.8
+pkgrel=1
+pkgdesc="Utility libraries for XC Binding - Convenience functions for the Render extension"
+arch=('i686' 'x86_64')
+url="http://xcb.freedesktop.org"
+license=('custom')
+depends=('libxcb>=1.7')
+makedepends=('xorg-util-macros')
+options=('!libtool')
+source=("http://xcb.freedesktop.org/dist/${pkgname}-${pkgver}.tar.bz2"
+ 'LICENSE')
+md5sums=('b346ff598ee093c141f836fbc0f8f721'
+ '2672c2e72dedb40f773e989dd622f298')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./configure --prefix=/usr --disable-static
+ make
+}
+
+check() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make check
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+
+ install -D -m644 "${srcdir}/LICENSE" \
+ "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}