# 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-awk version=0.3.3 release=1 source=(syn pkg-get.awk pkg-get-awk.conf pkg-get.po) 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.awk 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 }