[arch-commits] Commit in pciutils/trunk (PKGBUILD)
Jelle van der Waa
jelle at archlinux.org
Mon Jan 13 21:34:34 UTC 2020
Date: Monday, January 13, 2020 @ 21:34:34
Author: jelle
Revision: 373452
the source ftp server died switch to github sources
The github sources only sign their tags and not commits so use tag= instead of
commit=.
Modified:
pciutils/trunk/PKGBUILD
----------+
PKGBUILD | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-01-13 20:45:30 UTC (rev 373451)
+++ PKGBUILD 2020-01-13 21:34:34 UTC (rev 373452)
@@ -7,18 +7,19 @@
license=('GPL2')
url="https://mj.ucw.cz/sw/pciutils/"
depends=('glibc' 'hwids' 'kmod')
+makedepends=('git')
source=(#ftp://ftp.kernel.org/pub/software/utils/${pkgname}/${pkgname}-${pkgver}.tar.bz2
- ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci/${pkgname}-${pkgver}.tar.gz
- ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci/${pkgname}-${pkgver}.tar.gz.sign)
+ #ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci/${pkgname}-${pkgver}.tar.gz
+ #ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci/${pkgname}-${pkgver}.tar.gz.sign
+ git+https://github.com/pciutils/pciutils.git#tag=v3.6.2?signed)
validpgpkeys=(
'5558F9399CD7836850553C6EC28E7847ED70F82D' # Martin Mares <mj at ucw.cz>
)
-md5sums=('a1c5ec13f81a1c9cf380c93623959005'
- 'SKIP')
+md5sums=('SKIP')
build() {
- cd "${pkgname}-${pkgver}"
+ cd "${pkgname}"
make OPT="${CFLAGS} -fPIC -DPIC" ZLIB=no SHARED=no PREFIX=/usr SHAREDIR=/usr/share/hwdata MANDIR=/usr/share/man SBINDIR=/usr/bin lib/libpci.a
cp lib/libpci.a "${srcdir}/"
make clean
@@ -26,7 +27,7 @@
}
package() {
- cd "${pkgname}-${pkgver}"
+ cd "${pkgname}"
make SHARED=yes PREFIX=/usr SBINDIR=/usr/bin SHAREDIR=/usr/share/hwdata MANDIR=/usr/share/man DESTDIR="${pkgdir}" install install-lib
# this is now supplied by the hwids package
rm -rf "$pkgdir"/usr/{sbin/update-pciids,share/{man/man8/update-pciids.8,hwdata}}
More information about the arch-commits
mailing list