From 7cc34e0a153456500fa86d73cd80afc0d609f393 Mon Sep 17 00:00:00 2001 From: "coadde [Márcio Alexandre Silva Delgado]" Date: Sat, 16 Apr 2016 12:59:28 -0300 Subject: pixman-static: add new package to [libre] --- libre/pixman-static/PKGBUILD | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 libre/pixman-static/PKGBUILD 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 +# 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* +} -- cgit v1.2.3