desktop/nwg-drawer: Updated for version 0.4.6.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Jay Lanagan 2024-02-07 13:13:45 -05:00 committed by Willy Sudiarto Raharjo
parent 52e59d423f
commit 3c2af0ff42
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 11 additions and 10 deletions

View file

@ -2,7 +2,7 @@
# Slackware build script for nwg-drawer
# 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-drawer
VERSION=${VERSION:-0.4.3}
VERSION=${VERSION:-0.4.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -88,9 +88,10 @@ CGO_CXXFLAGS="$SLKCFLAGS" \
go build -mod vendor -o bin/"$PRGNAM" *.go || exit 1
install -d $PKG/usr/share/$PRGNAM/desktop-directories
install -Dm644 -t $PKG/usr/share/$PRGNAM/desktop-directories/ $TMP/$PRGNAM-$VERSION/desktop-directories/*
install -Dm644 -t $PKG/usr/share/$PRGNAM $TMP/$PRGNAM-$VERSION/drawer.css
install -Dm755 -t $PKG/usr/bin $TMP/$PRGNAM-$VERSION/bin/$PRGNAM
install -Dm644 -t $PKG/usr/share/$PRGNAM/desktop-directories/ desktop-directories/*
install -Dm644 -t $PKG/usr/share/$PRGNAM/img/ img/*.svg
install -Dm644 -t $PKG/usr/share/$PRGNAM drawer.css
install -Dm755 -t $PKG/usr/bin 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-drawer"
VERSION="0.4.3"
VERSION="0.4.6"
HOMEPAGE="https://github.com/nwg-piotr/nwg-drawer/"
DOWNLOAD="https://github.com/nwg-piotr/nwg-drawer/archive/v0.4.3/nwg-drawer-0.4.3.tar.gz \
https://slackware.lngn.net/pub/source/nwg-drawer/nwg-drawer-vendor-0.4.3.tar.gz"
MD5SUM="bf4ed3fe4d38f0474b414b4f59e8dede \
7a6fbed42c22d706fb2a08935af7e4fc"
DOWNLOAD="https://github.com/nwg-piotr/nwg-drawer/archive/v0.4.6/nwg-drawer-0.4.6.tar.gz \
https://slackware.lngn.net/pub/source/nwg-drawer/nwg-drawer-vendor-0.4.6.tar.gz"
MD5SUM="2c20f3f3869d4d2b417ada04033eb5a8 \
63ffa268e40d2275f4860c87a1c42cc8"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="google-go-lang gtk-layer-shell"