diff options
author | M0Rf30 | 2016-08-28 02:23:38 +0200 |
---|---|---|
committer | M0Rf30 | 2016-08-28 02:23:38 +0200 |
commit | ce5bd765fe55a649ac3af19226904109ff59f539 (patch) | |
tree | ec14e0237f1e08640abab115d7a50b71b3ffe24f | |
parent | 4bddd72aa43a581880c593dffd015c442a407e85 (diff) | |
download | aur-ce5bd765fe55a649ac3af19226904109ff59f539.tar.gz |
3.12.2 splitted
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 9 |
2 files changed, 9 insertions, 5 deletions
@@ -1,5 +1,5 @@ # Generated by mksrcinfo v8 -# Sun Aug 28 00:00:16 UTC 2016 +# Sun Aug 28 00:23:35 UTC 2016 pkgbase = python-dmidecode pkgdesc = Python module to access DMI data pkgver = 3.12.2 @@ -9,8 +9,11 @@ pkgbase = python-dmidecode arch = x86_64 license = GPL2 makedepends = python + makedepends = libxml2 depends = python depends = dmidecode + depends = libxml2 + depends = python-lxml source = https://github.com/nima/python-dmidecode/archive/v3.12.2.tar.gz md5sums = 458d83ac45316ec40df327b183b2030e @@ -7,15 +7,16 @@ arch=('i686' 'x86_64') url="https://git.fedorahosted.org/cgit/python-dmidecode.git" pkgdesc="Python module to access DMI data" license=('GPL2') -depends=('python' 'dmidecode') -makedepends=('python') +depends=('python' 'dmidecode' 'libxml2' 'python-lxml') +makedepends=('python' 'libxml2') source=("https://github.com/nima/python-dmidecode/archive/v$pkgver.tar.gz") package() { cd $srcdir/$pkgbase-${pkgver} + sed -i 's/python2/python3/g' Makefile unit-tests/Makefile + export CFLAGS+=" -std=gnu89" make build - make dmidump - python src/setup.py install --root=$pkgdir/ + python src/setup.py install --root=$pkgdir } |