diff --git a/srcpkgs/pciutils/template b/srcpkgs/pciutils/template index cf9bbe677b..17660ab803 100644 --- a/srcpkgs/pciutils/template +++ b/srcpkgs/pciutils/template @@ -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 }