aboutsummaryrefslogtreecommitdiff
path: root/system/hungrycat/hungrycat.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/hungrycat/hungrycat.SlackBuild')
-rw-r--r--system/hungrycat/hungrycat.SlackBuild14
1 files changed, 8 insertions, 6 deletions
diff --git a/system/hungrycat/hungrycat.SlackBuild b/system/hungrycat/hungrycat.SlackBuild
index 4fc02dfa89..6e733f213d 100644
--- a/system/hungrycat/hungrycat.SlackBuild
+++ b/system/hungrycat/hungrycat.SlackBuild
@@ -6,6 +6,7 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20250528 bkw: update for v0.4.2.
# 20171225 bkw: update for v0.4.1.
# 20170827 bkw: update for v0.4, drop docutils dep now that upstream
# ships a prebuilt man page.
@@ -13,7 +14,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=hungrycat
-VERSION=${VERSION:-0.4.1}
+VERSION=${VERSION:-0.4.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -58,8 +59,8 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
-find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
- \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} + -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} +
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -77,9 +78,10 @@ make install DESTDIR=$PKG
strip $PKG/usr/bin/$PRGNAM
gzip -9 $PKG/usr/man/man1/$PRGNAM.1
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a doc/README doc/changelog $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+PKGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKGDOC
+cp -a doc/README doc/changelog $PKGDOC
+cat $CWD/$PRGNAM.SlackBuild > $PKGDOC/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc