archrelease: copy trunk to community-any
[arch-community.git] / unifdef / trunk / PKGBUILD
blobe0cfa839a54e1d6c2639b5a36311c74a936fd61d
1 # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
3 pkgname=unifdef
4 pkgver=2.12
5 pkgrel=3
6 pkgdesc="Remove #ifdef'ed lines"
7 arch=(x86_64)
8 url="https://dotat.at/prog/unifdef/"
9 license=('GPL')
10 depends=()
11 source=("https://dotat.at/prog/unifdef/unifdef-$pkgver.tar.gz")
12 sha256sums=('fba564a24db7b97ebe9329713ac970627b902e5e9e8b14e19e024eb6e278d10b')
14 build() {
15   cd "$srcdir/$pkgname-$pkgver"
16   make clean
17   make
20 package() {
21   cd "$srcdir/$pkgname-$pkgver"
22   mkdir -p "$pkgdir"/usr/bin "$pkgdir"/usr/share/man/man1
23   install -m 0755 unifdef "$pkgdir"/usr/bin/
24   install -m 0755 unifdefall.sh "$pkgdir"/usr/bin/unifdefall
25   install -m 0644 unifdef.1 "$pkgdir"/usr/share/man/man1/