pciutils: move to usr/bin.

This commit is contained in:
Juan RP 2015-06-02 08:13:57 +02:00
parent c5d04a6494
commit 41e3af838d

View file

@ -1,7 +1,7 @@
# Template file for 'pciutils'
pkgname=pciutils
version=3.3.1
revision=1
revision=2
hostmakedepends="pkg-config"
makedepends="zlib-devel libkmod-devel"
depends="hwids"
@ -28,7 +28,8 @@ do_build() {
do_install() {
make SHARED=yes PREFIX=/usr SHAREDIR=/usr/share/hwdata STRIP= \
MANDIR=/usr/share/man DESTDIR=${DESTDIR} install install-lib
MANDIR=/usr/share/man SBINDIR=/usr/bin \
DESTDIR=${DESTDIR} install install-lib
vinstall ${XBPS_MASTERDIR}/tmp/libpci.a 644 usr/lib
# Set corrects perms to shlib.
@ -36,7 +37,7 @@ do_install() {
# Remove update-pciids and pci.ids, handled by hwids.
rm -rf ${DESTDIR}/usr/share/hwdata
rm -f ${DESTDIR}/usr/sbin/update-pciids
rm -f ${DESTDIR}/usr/bin/update-pciids
rm -f ${DESTDIR}/usr/share/man/man8/update-pciids.8
}