# Maintainer: Breno Leitao <breno.leitao@gmail.com>
pkgname=quilt
pkgver=0.65
pkgrel=0
pkgdesc="Quilt allows you to easily manage large numbers of patches by keeping track of the changes each patch makes"
url="http://savannah.nongnu.org/projects/quilt"
arch="noarch"
license="GPL"
depends="bash bzip2 diffutils gawk gettext patch"
makedepends="lynx perl procmail sed"
subpackages="$pkgname-doc $pkgname-lang"
source="http://download.savannah.gnu.org/releases/$pkgname/$pkgname-$pkgver.tar.gz"

builddir=$srcdir/$pkgname-$pkgver

build() {
	cd "$builddir"

	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--mandir=/usr/share/man
	make all
}

package() {
	cd "$builddir"
	make BUILD_ROOT="$pkgdir" install
}

sha512sums="37dffe34fe209371f2fbc0af2dbb4dcfa6edd2221aed15f31a0651a0bd457f2af03a98450a3e63406f70e040e944246e5b23733b820665eeb3fd4ff2bdde3a08  quilt-0.65.tar.gz"
