summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--base/pkg-get/Pkgfile5
1 files changed, 4 insertions, 1 deletions
diff --git a/base/pkg-get/Pkgfile b/base/pkg-get/Pkgfile
index c9c2548d2..c336e79eb 100644
--- a/base/pkg-get/Pkgfile
+++ b/base/pkg-get/Pkgfile
@@ -5,7 +5,7 @@
name=pkg-get
version=0.5.2
-release=1
+release=2
source=(http://nutyx.meticul.eu/files/$name-$version.tar.gz)
build() {
@@ -16,5 +16,8 @@ ARCH_=`uname -m`
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
}