diff options
Diffstat (limited to 'main')
-rw-r--r-- | main/pciutils/APKBUILD | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/main/pciutils/APKBUILD b/main/pciutils/APKBUILD index dd2b54337e..89449693bb 100644 --- a/main/pciutils/APKBUILD +++ b/main/pciutils/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Leonardo Arena <rnalrd@alpinelinux.org> pkgname=pciutils pkgver=3.2.1 -pkgrel=3 +pkgrel=4 pkgdesc="PCI bus configuration space access library and tools" url="http://mj.ucw.cz/pciutils.html" arch="all" @@ -47,10 +47,12 @@ package() { install install -d "$pkgdir"/usr/lib - install -m644 lib/libpci.a "$pkgdir"/usr/lib - install -D -m 644 lib/libpci.pc "$pkgdir"/usr/lib/pkgconfig/libpci.pc + ln -s libpci.so.${pkgver%%.*} "$pkgdir"/usr/lib/libpci.so || return 1 + install -D -m 644 lib/libpci.pc "$pkgdir"/usr/lib/pkgconfig/libpci.pc \ + || return 1 for i in config.h header.h pci.h types.h; do - install -D -m 644 lib/${i} "$pkgdir"/usr/include/pci/${i} + install -D -m 644 lib/${i} "$pkgdir"/usr/include/pci/${i} \ + || return 1 done } |