summaryrefslogtreecommitdiff
path: root/libre/pixman-static/PKGBUILD
diff options
context:
space:
mode:
authorcoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2016-04-16 12:59:28 -0300
committercoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2016-04-16 12:59:28 -0300
commit7cc34e0a153456500fa86d73cd80afc0d609f393 (patch)
treec621efac85a5c5e61a54faaeda3586f6b3468025 /libre/pixman-static/PKGBUILD
parent35d9df8b94d5b65fb43c42028da8ee3f219b9e9c (diff)
pixman-static: add new package to [libre]
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*
+}