summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorLlewelyn Trahaearn2015-07-19 14:00:36 -0700
committerLlewelyn Trahaearn2015-07-19 14:00:36 -0700
commit87d8f6b0766b4da685575f1cfb07cdc7c63b0f30 (patch)
tree5efd4878d4928be415a185e12280f9cfadb33a2d
parent284b20dbe53f18311e072ff7959c15f9dd2487d0 (diff)
downloadaur-87d8f6b0766b4da685575f1cfb07cdc7c63b0f30.tar.gz
Code tightening.
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD8
2 files changed, 6 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 03b398cdc0b7..a594b5f7d4fa 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,14 +1,14 @@
pkgbase = lib32-pciutils
pkgdesc = PCI bus configuration space access library (32-bit)
pkgver = 3.3.1
- pkgrel = 4
+ pkgrel = 5
url = http://mj.ucw.cz/sw/pciutils/
arch = x86_64
license = GPL2
makedepends = gcc-multilib
depends = lib32-systemd
- depends = pciutils
depends = lib32-kmod
+ depends = pciutils
source = ftp://ftp.kernel.org/pub/software/utils/pciutils/pciutils-3.3.1.tar.xz
sha512sums = 47772dedfa5d5efdd7ddc2970e64903090b32ac1579d63951e30edde5d886807952550fa00e5480f9cf782058a1fa5b2864744ab237031e59a0531197244c468
diff --git a/PKGBUILD b/PKGBUILD
index 0e1831e40b92..5d9a5b0084da 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,18 +4,18 @@
pkgname=lib32-pciutils
pkgver=3.3.1
-pkgrel=4
+pkgrel=5
pkgdesc="PCI bus configuration space access library (32-bit)"
arch=('x86_64')
url="http://mj.ucw.cz/sw/pciutils/"
license=('GPL2')
-depends=('lib32-systemd' 'pciutils' 'lib32-kmod')
+depends=('lib32-systemd' 'lib32-kmod' "${pkgname#lib32-}")
makedepends=('gcc-multilib')
-source=("ftp://ftp.kernel.org/pub/software/utils/pciutils/pciutils-${pkgver}.tar.xz")
+source=("ftp://ftp.kernel.org/pub/software/utils/${pkgname#lib32-}/${pkgname#lib32-}-${pkgver}.tar.xz")
sha512sums=('47772dedfa5d5efdd7ddc2970e64903090b32ac1579d63951e30edde5d886807952550fa00e5480f9cf782058a1fa5b2864744ab237031e59a0531197244c468')
build() {
- cd "${srcdir}/pciutils-${pkgver}"
+ cd "${srcdir}/${pkgname#lib32-}-${pkgver}"
export LDFLAGS='-m32'
export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
make CC="gcc -m32" OPT="${CFLAGS} -fPIC -DPIC" ZLIB=no SHARED=no PREFIX=/usr SBINDIR=/usr/bin SHAREDIR=/usr/share/hwdata MANDIR=/usr/share/man LIBDIR=/usr/lib32 lib/libpci.a