summaryrefslogtreecommitdiff
path: root/libre/hardinfo/PKGBUILD
diff options
context:
space:
mode:
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