summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD22
2 files changed, 13 insertions, 11 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 80a96c35a293..d9733244e591 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,5 +1,5 @@
pkgbase = pscpug
- pkgdesc = A unix utility designed to graph a given process's CPU usage over time.
+ pkgdesc = A unix utility designed to graph a given process's CPU usage over time
pkgver = 0.3.5
pkgrel = 1
url = http://www.diablonet.net/~mercadal/projects/pscpug/
diff --git a/PKGBUILD b/PKGBUILD
index 8e0764a28d2d..56fabf083d25 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,28 +1,30 @@
-# Contributor: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
+# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
pkgname=pscpug
pkgver=0.3.5
_pkgver=035
pkgrel=1
-pkgdesc="A unix utility designed to graph a given process's CPU usage over time."
+pkgdesc="A unix utility designed to graph a given process's CPU usage over time"
arch=('i686' 'x86_64')
url="http://www.diablonet.net/~mercadal/projects/pscpug/"
license=('BSD')
source=(http://www.diablonet.net/~mercadal/projects/pscpug/${pkgname}${_pkgver}.tgz)
-
md5sums=('625d23fc9b27e12f0a6411893e4d85d3')
build() {
- cd "${srcdir}/${pkgname}${_pkgver}"
+ cd "${srcdir}"/${pkgname}${_pkgver}
./configure --prefix=/usr --mandir=/usr/share/man
- make || return 1
+ make
+}
+
+package() {
+ cd "${srcdir}"/${pkgname}${_pkgver}
#install does not work correctly
# make prefix="${pkgdir}" install
- install -Dm755 "${srcdir}/${pkgname}${_pkgver}/$pkgname" "${pkgdir}/usr/bin/$pkgname" ||return 1
- install -Dm644 "${srcdir}/${pkgname}${_pkgver}/$pkgname.1" "${pkgdir}/usr/share/man/man1/$pkgname.1" ||return 1
-
+ install -Dm755 $pkgname "${pkgdir}"/usr/bin/$pkgname
+ install -Dm644 $pkgname.1 "${pkgdir}"/usr/share/man/man1/$pkgname.1
#license
- install -Dm644 "${srcdir}/${pkgname}${_pkgver}/LICENSE" "${pkgdir}/usr/share/licenses/$pkgname/LICENSE" || return 1
-}
+ install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/$pkgname/LICENSE
+} \ No newline at end of file