# 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* }