PKGBUILDs/community/gps/PKGBUILD
2009-10-09 21:15:33 -05:00

26 lines
876 B
Bash

# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Slash Bunny <demodevil@gmail.com>
pkgname=gps
pkgver=1.1.0
pkgrel=1
pkgdesc="gPS - Graphical Process Statistics"
arch=(i686 x86_64)
license=('GPL2')
url="http://gps.seul.org/"
depends=('gtk>=1.2.6')
source=(ftp://ftp.seul.org/pub/gps/$pkgname-$pkgver.tar.gz)
md5sums=('d50d065bfe9c6bf1017bfee71bb0c377')
build() {
cd $startdir/src/$pkgname-$pkgver
./configure --prefix=/usr
make || return 1
make DESTDIR=$startdir/pkg install && \
rm -rf $startdir/pkg/usr/doc && \
ln -f -s rgpsp_linux $startdir/pkg/usr/bin/rgpsp && \
mv $startdir/pkg/etc/rc.d/init.d/rgpsp $startdir/pkg/etc/rc.d/rgpsp && \
rm -rf $startdir/pkg/etc/rc.d/init.d && \
chmod 0644 $startdir/pkg/etc/rgpsp.conf $startdir/pkg/usr/share/icons/* $startdir/pkg/usr/man/man1/*
}