diff options
Diffstat (limited to 'base/pkg-get/Pkgfile')
-rw-r--r-- | base/pkg-get/Pkgfile | 31 |
1 files changed, 13 insertions, 18 deletions
diff --git a/base/pkg-get/Pkgfile b/base/pkg-get/Pkgfile index b2b88119e..b6e9d1cc4 100644 --- a/base/pkg-get/Pkgfile +++ b/base/pkg-get/Pkgfile @@ -1,25 +1,20 @@ # Description: Un gestionnaire de paquets binaires pour NuTyX léger et rapide # URL: http://www.nutyx.org # Maintainer: NuTyX core team -# Packager: guy_ +# Packager: tnut at nutyx dot com +# Depends on: curl name=pkg-get -version=0.3.5 -release=3 -source=(syn pkg-get.awk pkg-get-awk.conf pkg-get.po) +version=0.3.91 +release=2 +source=(http://nutyx.meticul.eu/files/$name-$version.tar.gz \ + syn) -PKGMK_KEEP_LOCALES=yes - -build() { - msgfmt pkg-get.po -o pkg-get.mo - mkdir -p $PKG/usr/bin - install -m 755 pkg-get.awk $PKG/usr/bin - install -m 755 syn $PKG/usr/bin/syn - ln -s pkg-get.awk $PKG/usr/bin/pkg-get - mkdir -p $PKG/etc - install -m 664 pkg-get-awk.conf $PKG/etc - sed -i "s/uname-m/`uname -m`/g" $PKG/etc/pkg-get-awk.conf - ln -s pkg-get-awk.conf $PKG/etc/pkg-get.conf - mkdir -p $PKG/usr/share/locale/en/LC_MESSAGES - install -m 644 pkg-get.mo $PKG/usr/share/locale/en/LC_MESSAGES +build() +{ + cd $name-$version + make + make DESTDIR=$PKG install + sed -i "s/uname-m/`uname -m`/g" $PKG/etc/pkg-get.conf + install -m 755 ../syn $PKG/usr/bin/syn } |