X-Git-Url: http://gitweb/?a=blobdiff_plain;ds=sidebyside;f=pkgutils%2FPkgfile;h=c87e910959dfee724d2bc0b897666feb5f84cde2;hb=refs%2Fheads%2F3.1;hp=50eb2c134707b90525fa129138eeee701c6bd1fa;hpb=9950eb7339cb1951cc21a6fd7e04e596d5a71be3;p=ports%2Fcore-arm.git

diff --git a/pkgutils/Pkgfile b/pkgutils/Pkgfile
index 50eb2c1..c87e910 100644
--- a/pkgutils/Pkgfile
+++ b/pkgutils/Pkgfile
@@ -1,15 +1,18 @@
 # Description: A set of utilities to manage software packages 
-# URL:         http://crux.nu/gitweb/?p=tools/pkgutils.git
-# Maintainer:  CRUX System Team, core-ports at crux dot nu
-# Depends on:  libarchive
+# URL: http://crux.nu/gitweb/?p=tools/pkgutils.git
+# Maintainer: CRUX System Team, core-ports at crux dot nu
+# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
+# Depends on: libarchive
 
 name=pkgutils
-version=5.35.1
-release=2
-source=(http://crux.nu/files/$name-$version.tar.gz)
+version=5.35.6
+release=1
+source=(http://crux.nu/files/$name-$version.tar.gz \
+        pkgmk.conf.patch)
 
 build () {
-	cd $name-$version
-	make DESTDIR=$PKG install
-	sed 's|FLAGS=.*|FLAGS="-O2 -pipe"|' -i $PKG/etc/pkgmk.conf
+  cd $name-$version
+  patch -p0 -i $SRC/pkgmk.conf.patch
+  sed -i -e "s|\--static||g" -e "s|\-static||g" Makefile
+  make DESTDIR=$PKG install
 }