summaryrefslogtreecommitdiff
path: root/testing/procps-ng/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/procps-ng/PKGBUILD')
-rw-r--r--testing/procps-ng/PKGBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/testing/procps-ng/PKGBUILD b/testing/procps-ng/PKGBUILD
new file mode 100644
index 000000000..9f3395472
--- /dev/null
+++ b/testing/procps-ng/PKGBUILD
@@ -0,0 +1,35 @@
+# $Id: PKGBUILD 163236 2012-07-11 17:53:04Z eric $
+# Maintainer: Eric BĂ©langer <eric@archlinux.org>
+
+pkgname=procps-ng
+pkgver=3.3.3
+pkgrel=3
+pkgdesc="Utilities for monitoring your system and processes on your system"
+arch=('i686' 'x86_64')
+url="http://gitorious.org/procps"
+license=('GPL' 'LGPL')
+groups=('base')
+depends=('ncurses')
+conflicts=('procps')
+provides=('procps')
+replaces=('procps')
+backup=('etc/sysctl.conf')
+options=('!libtool')
+source=(procps-ng-${pkgver}.tar.gz::http://gitorious.org/procps/procps/archive-tarball/v${pkgver}
+ sysctl.conf)
+sha1sums=('e78a098f1a3c06722155800cc5cfa0c865af03c0'
+ 'efb6cdc17ee39be8433ae9c8e9bb02d1f47eeefc')
+
+build() {
+ cd "${srcdir}/procps-procps"
+ echo ${pkgver} > .tarball-version
+ ./autogen.sh
+ ./configure --exec-prefix=/ --prefix=/usr --sysconfdir=/etc --libdir=/usr/lib
+ make
+}
+
+package() {
+ cd "${srcdir}/procps-procps"
+ make DESTDIR="${pkgdir}" install
+ install -D -m644 "${srcdir}/sysctl.conf" "${pkgdir}/etc/sysctl.conf"
+}