summaryrefslogtreecommitdiff
path: root/libre/pixman-static/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'libre/pixman-static/PKGBUILD')
-rw-r--r--libre/pixman-static/PKGBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/libre/pixman-static/PKGBUILD b/libre/pixman-static/PKGBUILD
new file mode 100644
index 000000000..27c04f7dc
--- /dev/null
+++ b/libre/pixman-static/PKGBUILD
@@ -0,0 +1,35 @@
+# Maintainer: Márcio Silva <coadde@parabola.nu>
+# based of pixman
+
+_pkgname=pixman
+pkgname=pixman-static
+pkgver=0.34.0
+pkgrel=1
+pkgdesc="The pixel-manipulation library for X and cairo (static libraries only)"
+arch=(i686 x86_64 armv7h)
+url="http://xorg.freedesktop.org"
+license=('custom')
+depends=('pixman')
+options=('staticlibs')
+source=(http://xorg.freedesktop.org/releases/individual/lib/${_pkgname}-${pkgver}.tar.bz2)
+sha1sums=('367698744e74d6d4f363041482965b9ea7fbe4a5')
+
+build() {
+ cd $_pkgname-$pkgver
+ ./configure --prefix=/usr --enable-static
+ make
+}
+
+check() {
+ cd $_pkgname-$pkgver
+ make check
+}
+
+package() {
+ cd $_pkgname-$pkgver
+ make DESTDIR="${pkgdir}" install
+
+ # remove conflicting files
+ rm -vr ${pkgdir}/usr/{include,lib/pkgconfig}
+ rm -v ${pkgdir}/usr/lib/lib*.so*
+}