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

27 lines
771 B
Bash

# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
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
}