diff options
Diffstat (limited to 'community/unifdef')
-rw-r--r-- | community/unifdef/PKGBUILD | 24 |
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/ } |