# Maintainer: Natanael Copa pkgname=pixman pkgver=0.34.0 pkgrel=0 pkgdesc="Pixman library" url="http://xorg.freedesktop.org" arch="all" license="custom" subpackages="$pkgname-dev" depends= makedepends="perl linux-headers" 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="002a4fcb644ddfcb4b0e4191576a0d59 pixman-0.34.0.tar.bz2 c13c42fe7459ae8f1eced7db4fb918b2 float-header-fix.patch" sha256sums="39ba3438f3d17c464b0cb8be006dacbca0ab5aee97ebde69fec7ecdbf85794a0 pixman-0.34.0.tar.bz2 0ae5d4e8d875c175d7b232d61e2ef1b8ae17d08fd2538cb60844b94de701bcf5 float-header-fix.patch" sha512sums="755a3f5596e7bd9710abc8e5bfd341adaf2177f5b21f7aaae7f85b8fb57580ea48df586ad32bf6adef6ce0430e7cadaa57754a2fa466bc4b15bf70ee64cd1418 pixman-0.34.0.tar.bz2 5064da221fe406e58169df0b07df7123ccf65487e654dba9e0903122480363c2b4e11ec0a14ac546658c747934509f2f66e3d0d078d6dd0ac92505c24b0e9ee9 float-header-fix.patch"