blob: 7f6fc1122ff18d2e506d993b117da5d7db299fbb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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/
}
|