summaryrefslogtreecommitdiff
path: root/community/unifdef
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-08-03 23:14:34 +0000
committerroot <root@rshg054.dnsready.net>2011-08-03 23:14:34 +0000
commit8c2359e2541f9d1b11443b49d8ea502b3ffea39c (patch)
tree035176ef2ab4dbaabda40150109c203887d83ed7 /community/unifdef
parent991d38faccf4e1fb27f31f236ad58ee840103734 (diff)
Wed Aug 3 23:14:34 UTC 2011
Diffstat (limited to 'community/unifdef')
-rw-r--r--community/unifdef/PKGBUILD24
1 files changed, 11 insertions, 13 deletions
diff --git a/community/unifdef/PKGBUILD b/community/unifdef/PKGBUILD
index 7f6fc1122..b25062afc 100644
--- a/community/unifdef/PKGBUILD
+++ b/community/unifdef/PKGBUILD
@@ -1,24 +1,22 @@
-# $Id: PKGBUILD 1000 2009-08-11 09:12:57Z spupykin $
+# $Id: PKGBUILD 53255 2011-08-02 14:56:26Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
pkgname=unifdef
-pkgver=1.0
-pkgrel=2
+pkgver=2.6
+pkgrel=1
pkgdesc="Remove #ifdef'ed lines"
arch=(i686 x86_64)
-url="http://www.cs.cmu.edu/~ajw/public/dist/"
+url="http://dotat.at/prog/unifdef/"
license=('GPL')
depends=()
-source=(http://www.cs.cmu.edu/~ajw/public/dist/unifdef-$pkgver.tar.gz)
-md5sums=('825240622f35c7b002f11ece1af4ba22')
+source=("http://dotat.at/prog/unifdef/unifdef-$pkgver.tar.gz")
+md5sums=('18b832baea2c7b6b00bd7d4f3db38f62')
build() {
- cd "$startdir/src/$pkgname-$pkgver"
-
+ cd "$srcdir/$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/
+ 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/
}