summaryrefslogtreecommitdiff
path: root/testing/pixman/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-05-30 00:02:28 +0000
committerroot <root@rshg054.dnsready.net>2012-05-30 00:02:28 +0000
commitf676c2f568b9c75daa3e2b688978b877f950953d (patch)
tree59afe7e51ecb44399c2e64658841e1b5f86571fa /testing/pixman/PKGBUILD
parentedec45419def1b81bd663a2859684ef55ba56269 (diff)
Wed May 30 00:02:27 UTC 2012
Diffstat (limited to 'testing/pixman/PKGBUILD')
-rw-r--r--testing/pixman/PKGBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/testing/pixman/PKGBUILD b/testing/pixman/PKGBUILD
new file mode 100644
index 000000000..6f90efbc8
--- /dev/null
+++ b/testing/pixman/PKGBUILD
@@ -0,0 +1,36 @@
+# $Id: PKGBUILD 160035 2012-05-28 11:24:39Z andyrtr $
+# Maintainer: Jan de Groot <jgc@archlinux.org>
+# Contributor: Alexander Baldeck <alexander@archlinux.org>
+
+pkgname=pixman
+pkgver=0.26.0
+pkgrel=1
+pkgdesc="The pixel-manipulation library for X and cairo"
+arch=(i686 x86_64)
+url="http://xorg.freedesktop.org"
+license=('custom')
+depends=('glibc')
+options=('!libtool')
+source=(http://xorg.freedesktop.org/releases/individual/lib/${pkgname}-${pkgver}.tar.bz2
+ test_failures_on_x86-32.diff)
+sha1sums=('d772cf794ec5da0966eba3cb360919a0a5e0d23f'
+ '24a688271d5cf2c4137a147deaa2975122c01aa8')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ patch -Np1 -i ${srcdir}/test_failures_on_x86-32.diff
+ ./configure --prefix=/usr --disable-static
+ make
+}
+
+check() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make check
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+ install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
+ install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
+}