diff options
author | Roberto Oliveira <robertoguimaraes8@gmail.com> | 2017-09-02 22:43:53 +0000 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2017-09-05 06:08:21 +0000 |
commit | 5f1decaa57818ffe82f2380af150644438ac83fe (patch) | |
tree | 79f612f3f8a1cceff8390f91d9def1a42c0200bf /main/pixman | |
parent | ac79529b6cea1c4aa778158248ea46164259c1d9 (diff) | |
download | aports-5f1decaa57818ffe82f2380af150644438ac83fe.tar.bz2 aports-5f1decaa57818ffe82f2380af150644438ac83fe.tar.xz |
main/pixman: modernize and add check
Diffstat (limited to 'main/pixman')
-rw-r--r-- | main/pixman/APKBUILD | 30 |
1 files changed, 12 insertions, 18 deletions
diff --git a/main/pixman/APKBUILD b/main/pixman/APKBUILD index bf7dc86b3a..5b1769b4d4 100644 --- a/main/pixman/APKBUILD +++ b/main/pixman/APKBUILD @@ -1,45 +1,39 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=pixman pkgver=0.34.0 -pkgrel=1 +pkgrel=2 pkgdesc="Pixman library" url="http://xorg.freedesktop.org" arch="all" license="custom" subpackages="$pkgname-dev $pkgname-dbg" -depends= makedepends="perl linux-headers" source="http://www.x.org/releases/individual/lib/$pkgname-$pkgver.tar.bz2 float-header-fix.patch stacksize-reduction.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 -} +builddir="$srcdir/$pkgname-$pkgver" build() { - cd "$_builddir" + cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --disable-static \ - --disable-arm-iwmmxt \ - || return 1 - make || return 1 + --disable-arm-iwmmxt + make +} + +check() { + cd "$builddir" + make check } package() { - cd "$srcdir"/$pkgname-$pkgver - make DESTDIR="$pkgdir" install || return 1 + cd "$builddir" + make DESTDIR="$pkgdir" install } sha512sums="755a3f5596e7bd9710abc8e5bfd341adaf2177f5b21f7aaae7f85b8fb57580ea48df586ad32bf6adef6ce0430e7cadaa57754a2fa466bc4b15bf70ee64cd1418 pixman-0.34.0.tar.bz2 5064da221fe406e58169df0b07df7123ccf65487e654dba9e0903122480363c2b4e11ec0a14ac546658c747934509f2f66e3d0d078d6dd0ac92505c24b0e9ee9 float-header-fix.patch |