# Contributor: William Pitcock # Maintainer: William Pitcock pkgname=indent pkgver=2.2.10 pkgrel=1 pkgdesc="indenting utility" url="http://www.gnu.org/software/indent/" license="GPL" depends= makedepends="gettext-dev" install= subpackages="$pkgname-doc" source="http://astromirror.uchicago.edu/gnu/$pkgname/$pkgname-$pkgver.tar.gz" arch="all" _builddir="$srcdir"/$pkgname-$pkgver prepare() { cd "$_builddir" # apply patches here } build() { cd "$_builddir" ./configure --prefix=/usr \ --without-included-gettext \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info make || return 1 } package() { cd "$_builddir" make DESTDIR="$pkgdir" install } md5sums="be35ea62705733859fbf8caf816d8959 indent-2.2.10.tar.gz"