# 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 name=pkg-get version=0.5.2 release=2 source=(http://nutyx.meticul.eu/files/$name-$version.tar.gz) 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 }