summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--system/gdisk/gdisk.SlackBuild24
-rw-r--r--system/gdisk/gdisk.info8
2 files changed, 13 insertions, 19 deletions
diff --git a/system/gdisk/gdisk.SlackBuild b/system/gdisk/gdisk.SlackBuild
index 09b789e09e..bcb1890d38 100644
--- a/system/gdisk/gdisk.SlackBuild
+++ b/system/gdisk/gdisk.SlackBuild
@@ -2,10 +2,10 @@
# Slackware build script for gdisk
-# Written by Steven Pledger <slacker4life@rocketmail.com>
+# Written by Steven Pledger <spledger91@yahoo.com>
PRGNAM=gdisk
-VERSION=${VERSION:-0.6.9}
+VERSION=${VERSION:-0.6.14}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -51,23 +51,17 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-make
+make \
+ CFLAGS="$SLKCFLAGS" \
+ CXXFLAGS="$SLKCFLAGS"
mkdir -p $PKG/usr/sbin
-cp -a \
- gdisk sgdisk \
- $PKG/usr/sbin
+install -m 0755 gdisk $PKG/usr/sbin
+install -m 0755 sgdisk $PKG/usr/sbin
+strip --strip-unneeded $PKG/usr/sbin/*
mkdir -p $PKG/usr/man/man8
-cp -a \
- gdisk.8 sgdisk.8 \
- $PKG/usr/man/man8
-
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
+cp -a gdisk.8 sgdisk.8 $PKG/usr/man/man8
find $PKG/usr/man -type f -exec gzip -9 {} \;
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
diff --git a/system/gdisk/gdisk.info b/system/gdisk/gdisk.info
index 322ff6c24f..a2d30a9398 100644
--- a/system/gdisk/gdisk.info
+++ b/system/gdisk/gdisk.info
@@ -1,10 +1,10 @@
PRGNAM="gdisk"
-VERSION="0.6.9"
+VERSION="0.6.14"
HOMEPAGE="http://sourceforge.net/projects/gptfdisk/"
-DOWNLOAD="http://downloads.sourceforge.net/gptfdisk/gdisk-0.6.9.tgz"
-MD5SUM="48740d8de518f79ae9dae7ec58068d05"
+DOWNLOAD="http://downloads.sourceforge.net/gptfdisk/gdisk-0.6.14.tgz"
+MD5SUM="5ee90e610a47c5966044cb5541173276"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Steven Pledger"
-EMAIL="slacker4life@rocketmail.com"
+EMAIL="spledger91@yahoo.com"
APPROVED="rworkman"