# $Id: PKGBUILD,v 1.3 2008/05/26 08:06:11 BaSh Exp $
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Contributor: dibblethewrecker <dibblethewrecker.at.jiwe.org>

pkgname=quilt
pkgver=0.47
pkgrel=1
pkgdesc="Manage a series of patches by keeping track of the changes each patch makes."
arch=('i686' 'x86_64')
url="http://savannah.nongnu.org/projects/quilt"
license=('GPL')
depends=('perl' 'diffstat' 'gawk' 'patch' 'diffutils' 'mktemp' 'gettext')
source=(http://savannah.nongnu.org/download/quilt/${pkgname}-${pkgver}.tar.gz)

md5sums=('d33d2442bd34387260b1c1db3e623af0')

build() {
  cd ${startdir}/src/${pkgname}-${pkgver}
  ./configure --prefix=/usr --mandir=/usr/share/man || return 1
  make || return 1
  make prefix=${startdir}/pkg/usr mandir=${startdir}/pkg/usr/share/man install || return 1
}