PKGBUILDs/community/unifdef/PKGBUILD

25 lines
658 B
Bash
Raw Normal View History

2009-10-10 02:15:33 +00:00
# $Id: PKGBUILD 999 2009-08-11 09:11:22Z 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/
}