diff options
author | Thomas Penteker <tek@serverop.de> | 2009-09-19 01:13:27 +0200 |
---|---|---|
committer | Thomas Penteker <tek@serverop.de> | 2009-09-19 01:13:59 +0200 |
commit | 7da1129272c7e33617f8ab92000c18618b12416d (patch) | |
tree | bc326a05706d471d298f3bf755c5983294ad5e50 /realpath/Pkgfile | |
parent | b6a731bc727e2ae4dbf69a91dff482bfe2d4611a (diff) | |
download | contrib-7da1129272c7e33617f8ab92000c18618b12416d.tar.gz contrib-7da1129272c7e33617f8ab92000c18618b12416d.tar.xz |
realpath: 1.12 -> 1.15
Diffstat (limited to 'realpath/Pkgfile')
-rw-r--r-- | realpath/Pkgfile | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/realpath/Pkgfile b/realpath/Pkgfile index a9bad83e6..6763a6ef3 100644 --- a/realpath/Pkgfile +++ b/realpath/Pkgfile @@ -1,20 +1,22 @@ # Description: return the canonicalized absolute pathname -# URL: http://packages.debian.org/sid/realpath -# Maintainer: Simon Gloßner, viper at hometux dot de +# URL: http://packages.debian.org/sid/realpath +# Maintainer: Thomas Penteker, tek at serverop dot de +# Packager: Simon Gloßner, viper at hometux dot de name=realpath -version=1.12 +version=1.15 release=1 source=(http://ftp.debian.org/debian/pool/main/r/${name}/${name}_${version}.tar.gz) build() { - cd $name-$version - - make VERSION=$version realpath + cd $name-$version/src + + sed -i -e 's/setlocale.*//g' -e 's/bindtextdomain.*//g' -e 's/textdomain.*//g' realpath.c + gcc -DVERSION="${version}" -o realpath realpath.c mkdir -p $PKG/usr/bin mkdir -p $PKG/usr/man/man1 install -m 755 realpath $PKG/usr/bin/realpath - install -m 644 man/realpath.1 $PKG/usr/man/man1 + install -m 644 ../man/realpath.1 $PKG/usr/man/man1 } |