desktop/nwg-look: Updated for version 0.2.1.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Jay Lanagan 2023-03-11 21:21:23 +07:00 committed by Willy Sudiarto Raharjo
parent fd0b98b245
commit 29ad79a29a
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
2 changed files with 12 additions and 7 deletions

View File

@ -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

View File

@ -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"