diff options
Diffstat (limited to 'community/unifdef/PKGBUILD')
-rw-r--r-- | community/unifdef/PKGBUILD | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/community/unifdef/PKGBUILD b/community/unifdef/PKGBUILD new file mode 100644 index 000000000..7f6fc1122 --- /dev/null +++ b/community/unifdef/PKGBUILD @@ -0,0 +1,24 @@ +# $Id: PKGBUILD 1000 2009-08-11 09:12:57Z spupykin $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> + +pkgname=unifdef +pkgver=1.0 +pkgrel=2 +pkgdesc="Remove #ifdef'ed lines" +arch=(i686 x86_64) +url="http://www.cs.cmu.edu/~ajw/public/dist/" +license=('GPL') +depends=() +source=(http://www.cs.cmu.edu/~ajw/public/dist/unifdef-$pkgver.tar.gz) +md5sums=('825240622f35c7b002f11ece1af4ba22') + +build() { + cd "$startdir/src/$pkgname-$pkgver" + + make clean + make || return 1 + + mkdir -p $startdir/pkg/usr/bin $startdir/pkg/usr/share/man/man1 && \ + install -m 0755 unifdef $startdir/pkg/usr/bin/ && \ + install -m 0644 unifdef.1 $startdir/pkg/usr/share/man/man1/ +} |