summaryrefslogtreecommitdiffstats
path: root/desktop
diff options
context:
space:
mode:
author Jay Lanagan2023-03-11 15:21:23 +0100
committer Willy Sudiarto Raharjo2023-03-11 15:21:23 +0100
commit29ad79a29a0aebb3cfe9e2bf7aeab344ad8130b7 (patch)
tree4a55adee9f2b0fc7a22f9bfa26f02e72c7236356 /desktop
parentfd0b98b24559c5de17407dcc14851db901f8797b (diff)
downloadslackbuilds-29ad79a29a0aebb3cfe9e2bf7aeab344ad8130b7.tar.gz
desktop/nwg-look: Updated for version 0.2.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop')
-rw-r--r--desktop/nwg-look/nwg-look.SlackBuild9
-rw-r--r--desktop/nwg-look/nwg-look.info10
2 files changed, 12 insertions, 7 deletions
diff --git a/desktop/nwg-look/nwg-look.SlackBuild b/desktop/nwg-look/nwg-look.SlackBuild
index 361777c9c7..f70b1bb634 100644
--- a/desktop/nwg-look/nwg-look.SlackBuild
+++ b/desktop/nwg-look/nwg-look.SlackBuild
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=nwg-look
-VERSION=${VERSION:-0.1.4}
+VERSION=${VERSION:-0.2.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -75,7 +75,11 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/v$VERSION.tar.?z || tar xvf $CWD/$PRGNAM-$VERSION.tar.?z
cd $PRGNAM-$VERSION
-tar xvf $CWD/nwg-look-vendor.tar.gz
+tar xvf $CWD/nwg-look-vendor-$VERSION.tar.gz
+
+# lower Go minimum version so we can build on 15.0
+patch -Np1 -i $CWD/gomin.patch || exit 1
+
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -90,6 +94,7 @@ go build -mod vendor -o "$PRGNAM" *.go || exit 1
install -d $PKG/usr/share/$PRGNAM
install -Dm644 -t $PKG/usr/share/$PRGNAM $TMP/$PRGNAM-$VERSION/stuff/main.glade
install -Dm644 -t $PKG/usr/share/applications $TMP/$PRGNAM-$VERSION/stuff/nwg-look.desktop
+install -Dm644 -t $PKG/usr/share/$PRGNAM/langs $TMP/$PRGNAM-$VERSION/langs/*
install -Dm644 -t $PKG/usr/share/pixmaps $TMP/$PRGNAM-$VERSION/stuff/nwg-look.svg
install -Dm755 -t $PKG/usr/bin $TMP/$PRGNAM-$VERSION/$PRGNAM
diff --git a/desktop/nwg-look/nwg-look.info b/desktop/nwg-look/nwg-look.info
index d23be24a43..ead9cb55ae 100644
--- a/desktop/nwg-look/nwg-look.info
+++ b/desktop/nwg-look/nwg-look.info
@@ -1,10 +1,10 @@
PRGNAM="nwg-look"
-VERSION="0.1.4"
+VERSION="0.2.1"
HOMEPAGE="https://github.com/nwg-piotr/nwg-look/"
-DOWNLOAD="https://github.com/nwg-piotr/nwg-look/archive/v0.1.4/nwg-look-0.1.4.tar.gz \
- https://slackware.lngn.net/pub/source/nwg-look/nwg-look-vendor.tar.gz"
-MD5SUM="f5d030519a64ec517bf171714373133f \
- 074acf18c9920caeecc9eee260b5810a"
+DOWNLOAD="https://github.com/nwg-piotr/nwg-look/archive/refs/tags/v0.2.1.tar.gz \
+ https://slackware.lngn.net/pub/source/nwg-look/nwg-look-vendor-0.2.1.tar.gz"
+MD5SUM="c230dd72840d6e88ac9e1101875bdce4 \
+ 37cc419bf1e3f0a2562359d8e8c47d55"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="google-go-lang xcur2png"