1 # Maintainer: Eric BĂ©langer <eric@archlinux.org>
2 # Contributor: Allan McRae <allan@archlinux.org>
7 pkgdesc="Displays useful information from /proc"
9 url="http://procinfo-ng.sourceforge.net/"
10 license=('GPL2' 'LGPL2.1')
11 depends=('ncurses' 'perl')
13 conflicts=('procinfo')
15 source=(https://downloads.sourceforge.net/project/procinfo-ng/procinfo-ng/${pkgver}/${pkgname}-${pkgver}.tar.bz2
16 https://sources.archlinux.org/other/procinfo-ng/procinfo-18.tar.gz)
17 sha512sums=('db336d2ff3bb3b31ac83a51a9d273fae8d16d36bd805f548eda06cb501699473fd8e4b4f9b722165fbf685d76c3fc09bfea9e516eabc37a888e2fae7679c08cf'
18 '12c4d7983f5d6531be6d4df39f5f1e1ee2ea2394a6eb8fb8df0573f0085499e4b7d43355bfa549a24ddf1ecb09bbfa7b038cef9c483620c74ad5cedc219e35fa')
21 cd ${pkgname}-${pkgver}
22 ./configure --prefix=/usr
27 cd ${pkgname}-${pkgver}
28 make DESTDIR="${pkgdir}" install
30 # install tools from old procinfo package
31 cd "${srcdir}/procinfo-18"
32 install -m755 lsdev.pl "${pkgdir}/usr/bin/lsdev"
33 install -m755 socklist.pl "${pkgdir}/usr/bin/socklist"
34 install -m644 lsdev.8 "${pkgdir}/usr/share/man/man8/lsdev.8"
35 install -m644 socklist.8 "${pkgdir}/usr/share/man/man8/socklist.8"