summaryrefslogtreecommitdiff
path: root/libre/hardinfo/PKGBUILD
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2015-10-04 23:48:55 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2015-10-04 23:48:55 -0500
commit5b10eb1740253ea189236fd59e36de7f25482881 (patch)
tree795a8f62af9ab89d3f28469e36253360435a22a3 /libre/hardinfo/PKGBUILD
parent3652c268b97954b6e5c0429649bb4bdfe1d38b68 (diff)
downloadabslibre-5b10eb1740253ea189236fd59e36de7f25482881.tar.gz
abslibre-5b10eb1740253ea189236fd59e36de7f25482881.tar.bz2
abslibre-5b10eb1740253ea189236fd59e36de7f25482881.zip
hardinfo: armv7h port
Diffstat (limited to 'libre/hardinfo/PKGBUILD')
-rw-r--r--libre/hardinfo/PKGBUILD9
1 files changed, 6 insertions, 3 deletions
diff --git a/libre/hardinfo/PKGBUILD b/libre/hardinfo/PKGBUILD
index 27913f3f0..fd469778e 100644
--- a/libre/hardinfo/PKGBUILD
+++ b/libre/hardinfo/PKGBUILD
@@ -6,7 +6,7 @@ pkgname=hardinfo
pkgver=0.5.1
pkgrel=6.parabola1
pkgdesc="A system information and benchmark tool (Parabola rebranded)"
-arch=('i686' 'x86_64' 'mips64el')
+arch=('i686' 'x86_64' 'armv7h')
url="http://sourceforge.net/projects/hardinfo.berlios/"
license=('GPL2')
depends=('gtk2' 'libsoup')
@@ -14,14 +14,17 @@ options=('!emptydirs')
replaces=(${pkgname}-parabola)
conflicts=(${pkgname}-parabola)
source=(http://sourceforge.net/projects/hardinfo.berlios/files/${pkgname}-${pkgver}.tar.bz2
- fixsensors.patch hardinfo.distro)
+ fixsensors.patch hardinfo.distro
+ hardinfo-gnu89_inline.patch)
sha1sums=('983f0445aa60e02156bc5a5eaedeffb30b8e4d64'
'd2151dce76dca238102937d0e15541f172bca530'
- '9425e09191cd3a365a3afce57ca1973a6439fa57')
+ '9425e09191cd3a365a3afce57ca1973a6439fa57'
+ '861a60aa2bdc56f95f496383b80399167cfdf995')
prepare() {
cd ${pkgname}-${pkgver}
patch -p1 -i "${srcdir}/fixsensors.patch"
+ patch -Np1 -i "${srcdir}/hardinfo-gnu89_inline.patch"
sed -i 's|/usr/lib64|/usr/lib|' configure
sed -i 's|lib64|lib|' binreloc.c
sed -i 's|{ DB_PREFIX "debian_version", "deb" },|{ DB_PREFIX "hardinfo.distro", "parabola" },{ DB_PREFIX "debian_version", "deb" },|' computer.h