summaryrefslogtreecommitdiffstats
path: root/pkgutils/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'pkgutils/Pkgfile')
-rw-r--r--pkgutils/Pkgfile25
1 files changed, 8 insertions, 17 deletions
diff --git a/pkgutils/Pkgfile b/pkgutils/Pkgfile
index 1a8b0ebbc..73743ec25 100644
--- a/pkgutils/Pkgfile
+++ b/pkgutils/Pkgfile
@@ -4,26 +4,17 @@
# Packager: thierryn1 at hispeed dot ch
name=pkgutils
-version=5.35.1
-release=2
-source=(http://crux.nu/files/$name-$version.tar.gz \
-http://nutyx.meticul.eu/files/patchs/$name/nutyx-attapu.4.patch)
+version=5.35.2
+release=1
+source=(http://crux.nu/files/$name-$version.tar.gz)
build () {
cd $name-$version
mkdir -p $PKG/usr/share
-patch -Np1 -i ../nutyx-attapu.4.patch
make DESTDIR=$PKG install
-case `uname -m` in
- x86_64)
- sed -i "s/march=native/mtune=generic/" $PKG/etc/pkgmk.conf
- sed -i "s/\".md5sum\"/\".md5sum.x86_64\"/" $PKG/usr/bin/pkgmk
- sed -i "s/\".footprint\"/\".footprint.x86_64\"/" $PKG/usr/bin/pkgmk;;
- i?86)
- sed -i "s/native/i686/" $PKG/etc/pkgmk.conf
- sed -i "s/\".md5sum\"/\".md5sum.i686\"/" $PKG/usr/bin/pkgmk
- sed -i "s/\".footprint\"/\".footprint.i686\"/" $PKG/usr/bin/pkgmk;;
-esac
- mv $PKG/usr/man \
- $PKG/usr/share/man
+rm $PKG/usr/bin/pkgmk
+rm $PKG/etc/pkgmk.conf
+rm -r $PKG/usr/man/man5
+rm $PKG/usr/man/man8/pkgmk.8
+mv $PKG/usr/man $PKG/usr/share/man
}