# 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.40.3
+release=1
+source=(http://crux.nu/files/$name-$version.tar.xz \
+ 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
+ make DESTDIR=$PKG install MANDIR=/usr/share/man
}