diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2017-09-03 22:41:57 -0500 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2017-09-19 10:53:39 +0000 |
commit | e3a04dd25fcb65f8c22dcce96d7908529dfbfcba (patch) | |
tree | 40ff21de7e90412ab975361763711284bf8e8580 /main/libpciaccess | |
parent | 9bd0825d32629476d9893a97d53d425330e231f0 (diff) | |
download | aports-e3a04dd25fcb65f8c22dcce96d7908529dfbfcba.tar.bz2 aports-e3a04dd25fcb65f8c22dcce96d7908529dfbfcba.tar.xz |
main/libpciaccess: modernise, fix deps, mark no test
Diffstat (limited to 'main/libpciaccess')
-rw-r--r-- | main/libpciaccess/APKBUILD | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/main/libpciaccess/APKBUILD b/main/libpciaccess/APKBUILD index bdad742ba1..082e554252 100644 --- a/main/libpciaccess/APKBUILD +++ b/main/libpciaccess/APKBUILD @@ -1,11 +1,13 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=libpciaccess pkgver=0.13.5 -pkgrel=0 +pkgrel=1 pkgdesc="X11 PCI access library" url="http://xorg.freedesktop.org/" arch="all" license="custom" +options="!check" # No test suite. +makedepends="util-macros" subpackages="$pkgname-dev $pkgname-doc" source="http://www.x.org/releases/individual/lib/$pkgname-$pkgver.tar.bz2 fix-arm.patch @@ -17,14 +19,13 @@ build() { ./configure \ --build=$CBUILD \ --host=$CHOST \ - --prefix=/usr \ - || return 1 - make || return 1 + --prefix=/usr + make } package() { cd "$builddir" - make DESTDIR="$pkgdir" install || return 1 + make DESTDIR="$pkgdir" install install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING } |