summaryrefslogtreecommitdiffstats
path: root/abs/core/libstatgrab
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/libstatgrab')
-rw-r--r--abs/core/libstatgrab/PKGBUILD38
-rw-r--r--abs/core/libstatgrab/libstatgrab.changelog8
2 files changed, 26 insertions, 20 deletions
diff --git a/abs/core/libstatgrab/PKGBUILD b/abs/core/libstatgrab/PKGBUILD
index ae38a47..a531c26 100644
--- a/abs/core/libstatgrab/PKGBUILD
+++ b/abs/core/libstatgrab/PKGBUILD
@@ -1,30 +1,28 @@
+# $Id: PKGBUILD 22416 2010-07-21 18:45:21Z jlichtblau $
+# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
+# Contributor: Eric Belanger <eric@archlinux.org>
# Contributor: Hugo Ideler <hugoideler@dse.nl>
pkgname=libstatgrab
-pkgver=0.14
-pkgrel=1
+pkgver=0.16
+pkgrel=2
pkgdesc="A library that provides cross platform access to statistics about the system on which it's run"
+arch=('i686' 'x86_64')
url="http://www.i-scream.org/libstatgrab"
-license=""
-depends=()
-makedepends=()
-conflicts=()
-replaces=()
-backup=()
-arch=('i686')
-install=
-source=(ftp://ftp.uk.i-scream.org/pub/i-scream/libstatgrab/$pkgname-$pkgver.tar.gz)
+license=('LGPL' 'GPL')
+depends=('ncurses' 'perl')
+options=('!libtool' '!makeflags')
+changelog=$pkgname.changelog
+source=(http://www.mirrorservice.org/sites/ftp.i-scream.org/pub/i-scream/libstatgrab/$pkgname-$pkgver.tar.gz)
+md5sums=('77582438274679a9641d043ddcccdd4e')
build() {
- cd $startdir/src/$pkgname-$pkgver
+ cd ${srcdir}/$pkgname-$pkgver
+
./configure --prefix=/usr
make || return 1
-
-#What you get when people make broken Makefiles...
-sed -i -e 's:chown root ${exec_prefix}/bin/statgrab::' ./src/statgrab/Makefile
-sed -i -e 's:chmod u+s ${exec_prefix}/bin/statgrab::' ./src/statgrab/Makefile
-sed -i -e 's:chown root ${exec_prefix}/bin/saidar::' ./src/saidar/Makefile
-sed -i -e 's:chmod u+s ${exec_prefix}/bin/saidar::' ./src/saidar/Makefile
- make DESTDIR=$startdir/pkg install
-#MAKE="make DESTDIR=$startdir/pkg prefix=$startdir/pkg"
+}
+package() {
+ cd ${srcdir}/$pkgname-$pkgver
+ make DESTDIR=${pkgdir} install
}
diff --git a/abs/core/libstatgrab/libstatgrab.changelog b/abs/core/libstatgrab/libstatgrab.changelog
new file mode 100644
index 0000000..b65782f
--- /dev/null
+++ b/abs/core/libstatgrab/libstatgrab.changelog
@@ -0,0 +1,8 @@
+2010-07-21 Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
+ * rebuild for correct package naming
+
+2008-03-20 Eric Belanger <eric@archlinux.org>
+
+ * libstatgrab 0.16-1
+ * Upstream update
+ * Added ChangeLog