diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-07-05 11:46:27 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-07-05 11:46:27 -0300 |
commit | 81c2319211ce0b155074187e6c93516d6b63f2a3 (patch) | |
tree | ace7bdd9662aad371c907f2f409cdfeec050bb7a | |
parent | 14d08ed196173f950e799896fa9a390f5e9e9d74 (diff) | |
download | abslibre-81c2319211ce0b155074187e6c93516d6b63f2a3.tar.gz abslibre-81c2319211ce0b155074187e6c93516d6b63f2a3.tar.bz2 abslibre-81c2319211ce0b155074187e6c93516d6b63f2a3.zip |
hardinfo-0.5.1-6: mtree rebuild and update urls
-rw-r--r-- | libre/hardinfo/PKGBUILD | 24 |
1 files changed, 14 insertions, 10 deletions
diff --git a/libre/hardinfo/PKGBUILD b/libre/hardinfo/PKGBUILD index cd6fb5264..c4bf21c3b 100644 --- a/libre/hardinfo/PKGBUILD +++ b/libre/hardinfo/PKGBUILD @@ -1,34 +1,38 @@ -# $Id$ +# $Id: PKGBUILD 115005 2014-07-05 03:31:29Z eric $ # Maintainer (Arch): Eric Bélanger <eric@archlinux.org> # Contributor: Márcio Silva <coadde@parabola.nu> pkgname=hardinfo pkgver=0.5.1 -pkgrel=5.1 +pkgrel=6 pkgdesc="A system information and benchmark tool (Parabola rebranded)" arch=('i686' 'x86_64') -url="http://hardinfo.berlios.de/wiki/index.php/Main_Page" +url="http://sourceforge.net/projects/hardinfo.berlios/" license=('GPL2') depends=('gtk2' 'libsoup') options=('!emptydirs') -source=(http://download.berlios.de/hardinfo/${pkgname}-${pkgver}.tar.bz2 \ +source=(http://sourceforge.net/projects/hardinfo.berlios/files/${pkgname}-${pkgver}.tar.bz2 fixsensors.patch hardinfo.distro) sha1sums=('983f0445aa60e02156bc5a5eaedeffb30b8e4d64' 'd2151dce76dca238102937d0e15541f172bca530' '9425e09191cd3a365a3afce57ca1973a6439fa57') -build() { - cd "${srcdir}/${pkgname}-${pkgver}" - patch -p1 < ../fixsensors.patch +prepare() { + cd ${pkgname}-${pkgver} + patch -p1 -i "${srcdir}/fixsensors.patch" sed -i 's|/usr/lib64|/usr/lib|' configure - ./configure --prefix=/usr 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 +} + +build() { + cd ${pkgname}-${pkgver} + ./configure --prefix=/usr make } package() { - cd "${srcdir}/${pkgname}-${pkgver}" + cd ${pkgname}-${pkgver} make DESTDIR="${pkgdir}" install - install -D -m644 ../hardinfo.distro "${pkgdir}/etc/hardinfo.distro" + install -D -m644 "${srcdir}/hardinfo.distro" "${pkgdir}/etc/hardinfo.distro" } |