diff options
Diffstat (limited to 'which/Pkgfile')
-rw-r--r-- | which/Pkgfile | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/which/Pkgfile b/which/Pkgfile index ce9bcd7..51a32c3 100644 --- a/which/Pkgfile +++ b/which/Pkgfile @@ -1,18 +1,19 @@ description="Show full path of commands" -packager="" -maintainer="CRUX System Team, core-ports at crux dot nu" +packager="CRUX System Team <core-ports AT crux DOT nu>" +maintainer="Lukc <lukc AT upyum DOT com>" url="http://www.xs4all.nl/~carlo17/which/" depends=() name=which version=2.20 release=1 -source=(http://www.xs4all.nl/~carlo17/which/which-2.20.tar.gz) +source=(http://www.xs4all.nl/~carlo17/$name/$name-$version.tar.gz) build () { - cd $name-$version; - ./configure --prefix=/usr --mandir=/usr/man; - make; - make DESTDIR=$PKG install; - rm -r $PKG/usr/share + cd $name-$version; + ./configure \ + --prefix=$prefix \ + --mandir=$mandir; + make; + make DESTDIR=$PKG install; } |