summaryrefslogtreecommitdiffstats
path: root/base/pkg-get/Pkgfile
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2011-03-27 15:49:30 +0200
committertnut <thierryn1 at hispeed dot ch>2011-03-27 15:49:30 +0200
commit5e5c2d317d9afe7327a75a6c35099510e1f8bb9c (patch)
tree71c67c4cf3532953851edd13a9de6d1964b22f9c /base/pkg-get/Pkgfile
parentd460c8b6b98046aaad341547116f9a8a1051fe36 (diff)
downloadnutyx-extra-5e5c2d317d9afe7327a75a6c35099510e1f8bb9c.tar.gz
nutyx-extra-5e5c2d317d9afe7327a75a6c35099510e1f8bb9c.tar.bz2
nutyx-extra-5e5c2d317d9afe7327a75a6c35099510e1f8bb9c.tar.xz
nutyx-extra-5e5c2d317d9afe7327a75a6c35099510e1f8bb9c.zip
pkg-get, remplacé par pkg-get-awk
Diffstat (limited to 'base/pkg-get/Pkgfile')
-rw-r--r--base/pkg-get/Pkgfile38
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
}
-