summaryrefslogtreecommitdiff
path: root/testing/procinfo-ng/PKGBUILD
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2011-11-04 10:49:42 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2011-11-04 10:49:42 -0300
commit624e141150ea71c22164ca4ac6602d6d5a191674 (patch)
tree7e4f924e39fd73afb927925fbd75f857a41fae9c /testing/procinfo-ng/PKGBUILD
parent692010aa202808a5b0ab62a132e5e366e34273fc (diff)
parentb625511a28fd8401f524474b5339e75328595150 (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community-staging/mlt/PKGBUILD community-testing/acetoneiso2/PKGBUILD community-testing/paraview/PKGBUILD community-testing/qbittorrent/PKGBUILD community-testing/virtualbox/PKGBUILD community-testing/virtualbox/virtualbox.install community/chmsee/PKGBUILD extra/kdelibs/PKGBUILD extra/kdeutils/PKGBUILD extra/libmpdclient/PKGBUILD extra/xf86-video-ati/PKGBUILD extra/xfce4-session/PKGBUILD extra/xfce4-smartbookmark-plugin/PKGBUILD kde-unstable/kdebase-workspace/PKGBUILD multilib/lib32-libdrm/PKGBUILD multilib/lib32-readline/PKGBUILD
Diffstat (limited to 'testing/procinfo-ng/PKGBUILD')
-rw-r--r--testing/procinfo-ng/PKGBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/testing/procinfo-ng/PKGBUILD b/testing/procinfo-ng/PKGBUILD
new file mode 100644
index 000000000..5e3808dc5
--- /dev/null
+++ b/testing/procinfo-ng/PKGBUILD
@@ -0,0 +1,37 @@
+# $Id: PKGBUILD 141905 2011-11-03 00:40:47Z eric $
+# Maintainer: Eric BĂ©langer <eric@archlinux.org>
+# Contributor: Allan McRae <allan@archlinux.org>
+
+pkgname=procinfo-ng
+pkgver=2.0.304
+pkgrel=3
+pkgdesc="Displays useful information from /proc"
+arch=('i686' 'x86_64')
+url="http://procinfo-ng.sourceforge.net/"
+license=('GPL2' 'LGPL2.1')
+depends=('ncurses' 'perl')
+provides=('procinfo')
+conflicts=('procinfo')
+replaces=('procinfo')
+source=(http://downloads.sourceforge.net/project/procinfo-ng/procinfo-ng/${pkgver}/${pkgname}-${pkgver}.tar.bz2
+ ftp://ftp.archlinux.org/other/procinfo-ng/procinfo-18.tar.gz)
+sha1sums=('da2176a505bcdf65c4eadcf5a2e056fb7a3f84af'
+ '8bc75669cbd27775c3a837209425c5ce76238ebc')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+
+ # install tools from old procinfo package
+ cd "${srcdir}/procinfo-18"
+ install -m755 lsdev.pl "${pkgdir}/usr/bin/lsdev"
+ install -m755 socklist.pl "${pkgdir}/usr/bin/socklist"
+ install -m644 lsdev.8 "${pkgdir}/usr/share/man/man8/lsdev.8"
+ install -m644 socklist.8 "${pkgdir}/usr/share/man/man8/socklist.8"
+}