desktop/nwg-look: Updated for version 0.2.6.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
ef19e20224
commit
1793eeb08f
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
# Slackware build script for nwg-look
|
# 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.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
# Redistribution and use of this script, with or without modification, is
|
# Redistribution and use of this script, with or without modification, is
|
||||||
|
@ -25,7 +25,7 @@
|
||||||
cd $(dirname $0) ; CWD=$(pwd)
|
cd $(dirname $0) ; CWD=$(pwd)
|
||||||
|
|
||||||
PRGNAM=nwg-look
|
PRGNAM=nwg-look
|
||||||
VERSION=${VERSION:-0.2.5}
|
VERSION=${VERSION:-0.2.6}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
PKGTYPE=${PKGTYPE:-tgz}
|
PKGTYPE=${PKGTYPE:-tgz}
|
||||||
|
@ -89,11 +89,11 @@ CGO_CXXFLAGS="$SLKCFLAGS" \
|
||||||
go build -mod vendor -o "$PRGNAM" *.go || exit 1
|
go build -mod vendor -o "$PRGNAM" *.go || exit 1
|
||||||
|
|
||||||
install -d $PKG/usr/share/$PRGNAM
|
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/$PRGNAM stuff/main.glade
|
||||||
install -Dm644 -t $PKG/usr/share/applications $TMP/$PRGNAM-$VERSION/stuff/nwg-look.desktop
|
install -Dm644 -t $PKG/usr/share/applications stuff/nwg-look.desktop
|
||||||
install -Dm644 -t $PKG/usr/share/$PRGNAM/langs $TMP/$PRGNAM-$VERSION/langs/*
|
install -Dm644 -t $PKG/usr/share/$PRGNAM/langs langs/*
|
||||||
install -Dm644 -t $PKG/usr/share/pixmaps $TMP/$PRGNAM-$VERSION/stuff/nwg-look.svg
|
install -Dm644 -t $PKG/usr/share/pixmaps stuff/nwg-look.svg
|
||||||
install -Dm755 -t $PKG/usr/bin $TMP/$PRGNAM-$VERSION/$PRGNAM
|
install -Dm755 -t $PKG/usr/bin $PRGNAM
|
||||||
|
|
||||||
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
|
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
|
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
PRGNAM="nwg-look"
|
PRGNAM="nwg-look"
|
||||||
VERSION="0.2.5"
|
VERSION="0.2.6"
|
||||||
HOMEPAGE="https://github.com/nwg-piotr/nwg-look/"
|
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 \
|
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.5.tar.gz"
|
https://slackware.lngn.net/pub/source/nwg-look/nwg-look-vendor-0.2.6.tar.gz"
|
||||||
MD5SUM="5336d01b832e15815abc4f77e7396177 \
|
MD5SUM="677bf9d96c96f14c7316f8e6b4943904 \
|
||||||
c2b57142e3f7b40dbed2040fbce25718"
|
a7a3689733405b109b3fc7d497ad1e91"
|
||||||
DOWNLOAD_x86_64=""
|
DOWNLOAD_x86_64=""
|
||||||
MD5SUM_x86_64=""
|
MD5SUM_x86_64=""
|
||||||
REQUIRES="google-go-lang xcur2png"
|
REQUIRES="google-go-lang xcur2png"
|
||||||
|
|
Loading…
Reference in New Issue