aboutsummaryrefslogtreecommitdiff
path: root/system/snore
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2022-12-28 16:09:29 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-12-31 09:14:53 +0700
commita8cd4d391c93415b664bde2e2041f77038cf022b (patch)
treea9da70c05eb33278e24664e6d3b14a9078cb4ce8 /system/snore
parent50ff8ef239c265ab73f5f56c33cdd57c3b068a51 (diff)
system/snore: Updated for version 0.3.1.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/snore')
-rw-r--r--system/snore/snore.SlackBuild8
-rw-r--r--system/snore/snore.info6
2 files changed, 9 insertions, 5 deletions
diff --git a/system/snore/snore.SlackBuild b/system/snore/snore.SlackBuild
index f3db5a80c89b3..2f5d50fe53763 100644
--- a/system/snore/snore.SlackBuild
+++ b/system/snore/snore.SlackBuild
@@ -6,12 +6,15 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20221228 bkw: update for v0.3.1, fix PKGTYPE, strip binary.
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=snore
-VERSION=${VERSION:-0.2}
+VERSION=${VERSION:-0.3.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -58,6 +61,7 @@ sed -i -e 's,^pause for,pauses for,' \
sed -i "s|-Os|$SLKCFLAGS -Wl,-s|" config.mk
make
+strip $PRGNAM
make install PREFIX=/usr MANPREFIX=/usr/man DESTDIR=$PKG
gzip -9 $PKG/usr/man/man1/$PRGNAM.1
@@ -69,4 +73,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/system/snore/snore.info b/system/snore/snore.info
index 735c4f83ed59e..95cba29da414f 100644
--- a/system/snore/snore.info
+++ b/system/snore/snore.info
@@ -1,8 +1,8 @@
PRGNAM="snore"
-VERSION="0.2"
+VERSION="0.3.1"
HOMEPAGE="https://github.com/clamiax/snore"
-DOWNLOAD="https://github.com/clamiax/snore/archive/0.2/snore-0.2.tar.gz"
-MD5SUM="f497682c63e0cf14959f3f76e9c72721"
+DOWNLOAD="https://github.com/clamiax/snore/archive/0.3.1/snore-0.3.1.tar.gz"
+MD5SUM="f8205dd4ba00792eb7a4f9a7f43d80b9"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""