From 224ff53c78c2e8df8c6ac3f5b84964a9fd228ee3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Fabian=20Silva=20Delgado?= Date: Tue, 26 Aug 2014 07:04:44 -0300 Subject: add parabola suffix on some packages --- libre/hardinfo/PKGBUILD | 38 -------------------------------------- libre/hardinfo/fixsensors.patch | 13 ------------- libre/hardinfo/hardinfo.distro | 1 - 3 files changed, 52 deletions(-) delete mode 100644 libre/hardinfo/PKGBUILD delete mode 100644 libre/hardinfo/fixsensors.patch delete mode 100644 libre/hardinfo/hardinfo.distro (limited to 'libre/hardinfo') diff --git a/libre/hardinfo/PKGBUILD b/libre/hardinfo/PKGBUILD deleted file mode 100644 index c4bf21c3b..000000000 --- a/libre/hardinfo/PKGBUILD +++ /dev/null @@ -1,38 +0,0 @@ -# $Id: PKGBUILD 115005 2014-07-05 03:31:29Z eric $ -# Maintainer (Arch): Eric Bélanger -# Contributor: Márcio Silva - -pkgname=hardinfo -pkgver=0.5.1 -pkgrel=6 -pkgdesc="A system information and benchmark tool (Parabola rebranded)" -arch=('i686' 'x86_64') -url="http://sourceforge.net/projects/hardinfo.berlios/" -license=('GPL2') -depends=('gtk2' 'libsoup') -options=('!emptydirs') -source=(http://sourceforge.net/projects/hardinfo.berlios/files/${pkgname}-${pkgver}.tar.bz2 - fixsensors.patch hardinfo.distro) -sha1sums=('983f0445aa60e02156bc5a5eaedeffb30b8e4d64' - 'd2151dce76dca238102937d0e15541f172bca530' - '9425e09191cd3a365a3afce57ca1973a6439fa57') - -prepare() { - cd ${pkgname}-${pkgver} - patch -p1 -i "${srcdir}/fixsensors.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 -} - -build() { - cd ${pkgname}-${pkgver} - ./configure --prefix=/usr - make -} - -package() { - cd ${pkgname}-${pkgver} - make DESTDIR="${pkgdir}" install - install -D -m644 "${srcdir}/hardinfo.distro" "${pkgdir}/etc/hardinfo.distro" -} diff --git a/libre/hardinfo/fixsensors.patch b/libre/hardinfo/fixsensors.patch deleted file mode 100644 index 812c29458..000000000 --- a/libre/hardinfo/fixsensors.patch +++ /dev/null @@ -1,13 +0,0 @@ - diff -upNr hardinfo-0.4.2.2.orign/util.c hardinfo-0.4.2.2/util.c ---- hardinfo-0.4.2.2.orign/util.c 2007-07-20 16:45:08.000000000 +0200 -+++ hardinfo-0.4.2.2/util.c 2007-07-26 10:15:32.000000000 +0200 -@@ -996,7 +996,8 @@ gchar *h_strdup_cprintf(const gchar * fo - if (source) { - retn = g_strconcat(source, buffer, NULL); - g_free(buffer); -- g_free(source); -+ if(strlen(source)) -+ g_free(source); - } else { - retn = buffer; - } diff --git a/libre/hardinfo/hardinfo.distro b/libre/hardinfo/hardinfo.distro deleted file mode 100644 index cf378523a..000000000 --- a/libre/hardinfo/hardinfo.distro +++ /dev/null @@ -1 +0,0 @@ -Parabola GNU/Linux-Libre -- cgit v1.2.3-2-g168b