pciutils, usbutils
This commit is contained in:
1 parent
d503b087e3
commit
aa4a2e802c
2 files changed
+66
No files matched your search
@@ -0,0 +1,33 @@
|
||||
#!/usr/bin/env bash
|
||||
name='pciutils'
|
||||
release='1'
|
||||
version='3.13.0'
|
||||
url='https://git.kernel.org/pub/scm/utils/pciutils/pciutils.git'
|
||||
description='PCI bus configuration space access library and tools'
|
||||
email='brkt8khn@gmail.com'
|
||||
maintainer='brkt8khn'
|
||||
license=('GPLv3')
|
||||
source=("https://git.kernel.org/pub/scm/utils/pciutils/pciutils.git/snapshot/pciutils-$version.tar.gz")
|
||||
depends=(hwdata kmod)
|
||||
makedepends=(git)
|
||||
sha256sums=('861fc26151a4596f5c3cb6f97d6c75c675051fa014959e26fb871c8c932ebc67')
|
||||
group=(sys.apps)
|
||||
uses=()
|
||||
arch=('x86_64')
|
||||
|
||||
cd $name-$version
|
||||
|
||||
build(){
|
||||
make OPT="$CFLAGS -fPIC -flto=auto" ZLIB=no \
|
||||
SHARED=yes \
|
||||
PREFIX=/usr \
|
||||
SHAREDIR=/usr/share/hwdata \
|
||||
all
|
||||
}
|
||||
|
||||
package(){
|
||||
make SHARED=yes PREFIX=/usr SBINDIR=/usr/bin SHAREDIR=/usr/share/hwdata MANDIR=/usr/share/man DESTDIR="${DESTDIR}" install install-lib
|
||||
|
||||
# this is now supplied by the hwids package
|
||||
rm -rf "$DESTDIR"/usr/share/hwdata
|
||||
}
|
||||
Reference in new issue
Block a user