diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2017-02-05 23:01:49 +0100 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2017-02-05 23:01:49 +0100 |
commit | 50575ac24f4cafb4f7a61c3fc4c4faacb30b5d7e (patch) | |
tree | 087d4caffaf56a2d23104cd2a2aeca75c0b60795 /main/libpciaccess | |
parent | 3b099e78011f786895dc48df05bcb56cfa7c4d59 (diff) | |
download | aports-50575ac24f4cafb4f7a61c3fc4c4faacb30b5d7e.tar.bz2 aports-50575ac24f4cafb4f7a61c3fc4c4faacb30b5d7e.tar.xz |
main/libpciaccess: bump pkgrel and improve abuild
Diffstat (limited to 'main/libpciaccess')
-rw-r--r-- | main/libpciaccess/APKBUILD | 24 |
1 files changed, 6 insertions, 18 deletions
diff --git a/main/libpciaccess/APKBUILD b/main/libpciaccess/APKBUILD index bac4a8edc0..5b87eb8493 100644 --- a/main/libpciaccess/APKBUILD +++ b/main/libpciaccess/APKBUILD @@ -1,32 +1,19 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=libpciaccess pkgver=0.13.4 -pkgrel=0 +pkgrel=1 pkgdesc="X11 PCI access library" url="http://xorg.freedesktop.org/" arch="all" license="custom" subpackages="$pkgname-dev $pkgname-doc" -depends= -makedepends= source="http://xorg.freedesktop.org/releases/individual/lib/$pkgname-$pkgver.tar.bz2 fix-arm.patch - limits_h.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 -} + limits_h.patch" +builddir="$srcdir/$pkgname-$pkgver" build() { - cd "$_builddir" + cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -36,10 +23,11 @@ build() { } package() { - cd "$_builddir" + cd "$builddir" make DESTDIR="$pkgdir" install || return 1 install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING } + md5sums="ace78aec799b1cf6dfaea55d3879ed9f libpciaccess-0.13.4.tar.bz2 0381322b67ad34689013af74bdfe77c0 fix-arm.patch 32100cb5679d9b9082ffd1de8b0c8c7b limits_h.patch" |