mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
24 lines
658 B
Bash
24 lines
658 B
Bash
# $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/
|
|
}
|