updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / gps / PKGBUILD
bloba5130ead89c98cc2da1c08803618fd5884392275
1 # $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
2 # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
3 # Contributor: Slash Bunny <demodevil@gmail.com>
5 pkgname=gps
6 pkgver=1.1.0
7 pkgrel=2
8 pkgdesc="Graphical Process Statistics"
9 arch=(i686 x86_64)
10 license=('GPL2')
11 url="http://gps.seul.org/"
12 depends=('gtk>=1.2.6')
13 source=(ftp://ftp.seul.org/pub/gps/${pkgname}-${pkgver}.tar.gz)
14 md5sums=('d50d065bfe9c6bf1017bfee71bb0c377')
16 build() {
17   cd ${srcdir}/${pkgname}-${pkgver}
18   ./configure --prefix=/usr
19   make || return 1
20   make DESTDIR=${pkgdir} install
21   rm -rf ${pkgdir}/usr/doc
22   ln -f -s rgpsp_linux ${pkgdir}/usr/bin/rgpsp
23   mv ${pkgdir}/etc/rc.d/init.d/rgpsp ${pkgdir}/etc/rc.d/rgpsp
24   rm -rf ${pkgdir}/etc/rc.d/init.d
25   chmod 0644 ${pkgdir}/etc/rgpsp.conf ${pkgdir}/usr/share/icons/* ${pkgdir}/usr/man/man1/*