# Maintainer: Natanael Copa pkgname=pixman pkgver=0.32.8 pkgrel=0 pkgdesc="Pixman library" url="http://xorg.freedesktop.org" arch="all" license="custom" subpackages="$pkgname-dev" depends= makedepends="perl" source="http://xorg.freedesktop.org/releases/individual/lib/$pkgname-$pkgver.tar.bz2 float-header-fix.patch " _builddir="$srcdir/$pkgname-$pkgver" prepare() { cd "$_builddir" for i in $source; do case $i in *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; esac done } build() { cd "$_builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --disable-static \ --disable-arm-iwmmxt \ || return 1 make || return 1 } package() { cd "$srcdir"/$pkgname-$pkgver make DESTDIR="$pkgdir" install || return 1 } md5sums="18d6b62abdb7bc0f8e6b0ddf48986b2c pixman-0.32.8.tar.bz2 c13c42fe7459ae8f1eced7db4fb918b2 float-header-fix.patch" sha256sums="5c63dbb3523fc4d86ed4186677815918a941b7cb390d5eec4f55cb5d66b59fb1 pixman-0.32.8.tar.bz2 0ae5d4e8d875c175d7b232d61e2ef1b8ae17d08fd2538cb60844b94de701bcf5 float-header-fix.patch" sha512sums="43924a92f0d3e03359bd74701cc2a27c000b24fc513e0f760389da7e6ee1acec666a734003ef193d45251cc9645c07caf91142c3ff9134b1429a38a9167332a2 pixman-0.32.8.tar.bz2 5064da221fe406e58169df0b07df7123ccf65487e654dba9e0903122480363c2b4e11ec0a14ac546658c747934509f2f66e3d0d078d6dd0ac92505c24b0e9ee9 float-header-fix.patch"