diff options
Diffstat (limited to 'community/unifdef/PKGBUILD')
-rw-r--r-- | community/unifdef/PKGBUILD | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/community/unifdef/PKGBUILD b/community/unifdef/PKGBUILD new file mode 100644 index 000000000..fd8b122d0 --- /dev/null +++ b/community/unifdef/PKGBUILD @@ -0,0 +1,26 @@ +# $Id: PKGBUILD 90818 2013-05-14 10:59:48Z spupykin $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> + +pkgname=unifdef +pkgver=2.8 +pkgrel=1 +pkgdesc="Remove #ifdef'ed lines" +arch=(i686 x86_64) +url="http://dotat.at/prog/unifdef/" +license=('GPL') +depends=() +source=("http://dotat.at/prog/unifdef/unifdef-$pkgver.tar.gz") +md5sums=('1cfb5fa5dcab6e6246c07897a1a304b4') + +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/ +} |