diff options
-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" |