# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $ # Maintainer: Sergej Pupykin # Contributor: Sergej Pupykin pkgname=paco pkgver=2.0.6 pkgrel=2 pkgdesc="LFS packet manager" arch=('i686' 'x86_64') url="http://paco.sourceforge.net/index.html" license=('GPL') #NOTE: You may disable gtk frontend in configure depends=(gtk2) backup=(etc/pacorc) source=(http://downloads.sourceforge.net/sourceforge/paco/$pkgname-$pkgver.tar.bz2) md5sums=('290324212611bfc94ec8b83be0ce0362') build() { cd $startdir/src/$pkgname-$pkgver sed -i 's#strchr#(char*)strchr#' lib/paco/BasePkg.cc ./configure --prefix=/usr --sysconfdir=/etc make || return 1 make DESTDIR=$startdir/pkg install || return 1 rm -rf $startdir/pkg/home }