desktop/nwg-look: Updated for version 0.2.6.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Jay Lanagan 2024-02-02 08:06:01 -05:00 committed by Willy Sudiarto Raharjo
parent ef19e20224
commit 1793eeb08f
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
2 changed files with 12 additions and 12 deletions

View File

@ -2,7 +2,7 @@
# Slackware build script for nwg-look
# Copyright 2023 Jay Lanagan (j@lngn.net), Detroit, MI, USA.
# Copyright 2023-2024 Jay Lanagan (j@lngn.net), Detroit, MI, USA.
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=nwg-look
VERSION=${VERSION:-0.2.5}
VERSION=${VERSION:-0.2.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -89,11 +89,11 @@ CGO_CXXFLAGS="$SLKCFLAGS" \
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
install -Dm644 -t $PKG/usr/share/$PRGNAM stuff/main.glade
install -Dm644 -t $PKG/usr/share/applications stuff/nwg-look.desktop
install -Dm644 -t $PKG/usr/share/$PRGNAM/langs langs/*
install -Dm644 -t $PKG/usr/share/pixmaps stuff/nwg-look.svg
install -Dm755 -t $PKG/usr/bin $PRGNAM
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true

View File

@ -1,10 +1,10 @@
PRGNAM="nwg-look"
VERSION="0.2.5"
VERSION="0.2.6"
HOMEPAGE="https://github.com/nwg-piotr/nwg-look/"
DOWNLOAD="https://github.com/nwg-piotr/nwg-look/archive/v0.2.5/nwg-look-0.2.5.tar.gz \
https://slackware.lngn.net/pub/source/nwg-look/nwg-look-vendor-0.2.5.tar.gz"
MD5SUM="5336d01b832e15815abc4f77e7396177 \
c2b57142e3f7b40dbed2040fbce25718"
DOWNLOAD="https://github.com/nwg-piotr/nwg-look/archive/v0.2.6/nwg-look-0.2.6.tar.gz \
https://slackware.lngn.net/pub/source/nwg-look/nwg-look-vendor-0.2.6.tar.gz"
MD5SUM="677bf9d96c96f14c7316f8e6b4943904 \
a7a3689733405b109b3fc7d497ad1e91"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="google-go-lang xcur2png"