# $Id: PKGBUILD 88335 2013-04-16 13:31:44Z spupykin $ # Maintainer: Sergej Pupykin pkgname=unifdef pkgver=2.7 pkgrel=1 pkgdesc="Remove #ifdef'ed lines" arch=(i686 x86_64 'mips64el') url="http://dotat.at/prog/unifdef/" license=('GPL') depends=() source=("http://dotat.at/prog/unifdef/unifdef-$pkgver.tar.gz") md5sums=('72357e9faa877fe21f5d621d2024a242') build() { cd "$srcdir/$pkgname-$pkgver" make clean make } package() { cd "$srcdir/$pkgname-$pkgver" mkdir -p $pkgdir/usr/bin $pkgdir/usr/share/man/man1 install -m 0755 unifdef $pkgdir/usr/bin/ install -m 0644 unifdef.1 $pkgdir/usr/share/man/man1/ }