summaryrefslogtreecommitdiff
path: root/community/unifdef/PKGBUILD
blob: 6306f4c9245e36aa35c8cae66e0962bffdfb9b36 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# $Id: PKGBUILD 65345 2012-02-21 02:14:45Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>

pkgname=unifdef
pkgver=2.6
pkgrel=3
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=('18b832baea2c7b6b00bd7d4f3db38f62')

build() {
  cd "$srcdir/$pkgname-$pkgver"
  make clean
  make
  mkdir -p $pkgdir/usr/bin $startdir/pkg/usr/share/man/man1
  install -m 0755 unifdef $pkgdir/usr/bin/
  install -m 0644 unifdef.1 $pkgdir/usr/share/man/man1/
}