summaryrefslogtreecommitdiffstats
path: root/misc/no-more-secrets/no-more-secrets.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'misc/no-more-secrets/no-more-secrets.SlackBuild')
-rw-r--r--misc/no-more-secrets/no-more-secrets.SlackBuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/misc/no-more-secrets/no-more-secrets.SlackBuild b/misc/no-more-secrets/no-more-secrets.SlackBuild
index b7ca7aab7d..afe9af3446 100644
--- a/misc/no-more-secrets/no-more-secrets.SlackBuild
+++ b/misc/no-more-secrets/no-more-secrets.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=no-more-secrets
-VERSION=${VERSION:-0.3.0}
+VERSION=${VERSION:-0.3.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -60,7 +60,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/v$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -70,6 +70,7 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
sed -i "s/local//" Makefile
+sed -i "s/mandir = \$(datarootdir)/mandir = \$(prefix)/" Makefile
make
make install DESTDIR=$PKG