diff options
Diffstat (limited to 'base/pkg-get/Pkgfile')
-rw-r--r-- | base/pkg-get/Pkgfile | 38 |
1 files changed, 20 insertions, 18 deletions
diff --git a/base/pkg-get/Pkgfile b/base/pkg-get/Pkgfile index 204985eb1..35be7e055 100644 --- a/base/pkg-get/Pkgfile +++ b/base/pkg-get/Pkgfile @@ -1,23 +1,25 @@ -# Description: Outil de gestion de paquets binaires pour NuTyX -# URL: http://www.varlock.com et nutyx.org -# Maintainer: thierryn1 at hispeed dot ch -# Packager: thierryn1 at hispeed dot ch +# Description: Un gestionnaire de paquets binaires pour NuTyX léger et rapide +# URL: http://www.nutyx.org +# Maintainer: NuTyX core team +# Packager: guy_ name=pkg-get -version=0.5.2 -release=2 -source=(http://nutyx.meticul.eu/files/$name-$version.tar.gz) +version=0.3.2 +release=3 +source=(syn pkg-get.awk pkg-get-awk.conf pkg-get.po) + +PKGMK_KEEP_LOCALES=yes build() { -ARCH_=`uname -m` - cd $name-$version - make PREFIX=$PKG/usr CFGDIR=$PKG/etc install - mkdir -p $PKG/usr/share - mv $PKG/usr/{man,share/man} - rm $PKG/etc/pkg-get.conf - rm $PKG/usr/bin/pkg-get - if [ "$ARCH_" == "x86_64" ]; then - sed -i "s/i686/x86_64/" $PKG/usr/bin/pkg-repgen - fi + 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 } - |