summaryrefslogtreecommitdiff
path: root/system/gnu-fdisk/gnu-fdisk.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/gnu-fdisk/gnu-fdisk.SlackBuild')
-rw-r--r--system/gnu-fdisk/gnu-fdisk.SlackBuild15
1 files changed, 7 insertions, 8 deletions
diff --git a/system/gnu-fdisk/gnu-fdisk.SlackBuild b/system/gnu-fdisk/gnu-fdisk.SlackBuild
index e1a0ad5393..8b7f11f02c 100644
--- a/system/gnu-fdisk/gnu-fdisk.SlackBuild
+++ b/system/gnu-fdisk/gnu-fdisk.SlackBuild
@@ -2,20 +2,18 @@
# Slackware build script for gnu-fdisk
-# Written by crocket (crockabiscuit@yahoo.com)
+# Written by crocket (crockabiscuit@gmail.com)
PRGNAM=gnu-fdisk
-ARCNAM=$( echo $PRGNAM | sed 's/gnu-//' )
-VERSION=${VERSION:-1.2.4}
+ARCNAM=fdisk
+VERSION=${VERSION:-1.2.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -84,8 +82,8 @@ make install DESTDIR=$PKG
# Add a couple of symlinks in the manual pages
( cd $PKG/usr/man/man8
- ln -s fdisk-gnu.8 lfdisk
- ln -s fdisk-gnu.8 gfdisk
+ ln -s fdisk-gnu.8 lfdisk.8
+ ln -s fdisk-gnu.8 gfdisk.8
)
# Remove an empty directory
@@ -102,7 +100,7 @@ gzip -9 $PKG/usr/info/*
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- AUTHORS COPYING ChangeLog INSTALL NEWS README THANKS TODO \
+ ABOUT-NLS AUTHORS COPYING ChangeLog INSTALL NEWS README THANKS TODO \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
@@ -111,3 +109,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+