summaryrefslogtreecommitdiffstats
path: root/desktop
diff options
context:
space:
mode:
author Jay Lanagan2024-02-01 12:22:50 +0100
committer Willy Sudiarto Raharjo2024-02-02 00:13:18 +0100
commite80c51f9f426166e52e98d7562b868da64500b03 (patch)
treeb90e2340108dff0834775d24d81afde839a89497 /desktop
parent2162c5156a07d63f85cd65e1e12edb698a61c0f6 (diff)
downloadslackbuilds-e80c51f9f426166e52e98d7562b868da64500b03.tar.gz
desktop/nwg-hello: Updated for version 0.1.7.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop')
-rw-r--r--desktop/nwg-hello/nwg-hello.SlackBuild26
-rw-r--r--desktop/nwg-hello/nwg-hello.info6
2 files changed, 16 insertions, 16 deletions
diff --git a/desktop/nwg-hello/nwg-hello.SlackBuild b/desktop/nwg-hello/nwg-hello.SlackBuild
index 3914344159..691f7801d2 100644
--- a/desktop/nwg-hello/nwg-hello.SlackBuild
+++ b/desktop/nwg-hello/nwg-hello.SlackBuild
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=nwg-hello
-VERSION=${VERSION:-0.1.6}
+VERSION=${VERSION:-0.1.7}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -85,28 +85,28 @@ find -L . \
# fix default sway conf
sed -i -e 's,systemctl,loginctl,g' sway-config
- install -D -m 644 -t $PKG/etc/nwg-hello/ nwg-hello-default.json
- install -D -m 644 -t $PKG/etc/nwg-hello/ nwg-hello-default.css
- install -D -m 644 -t $PKG/etc/nwg-hello/ hyprland.conf
- install -D -m 644 -t $PKG/etc/nwg-hello/ sway-config
- install -D -m 644 -t $PKG/etc/nwg-hello/ README
- install -D -m 644 -t $PKG/usr/share/nwg-hello/ nwg.jpg
- install -D -m 644 -t $PKG/usr/share/nwg-hello/ img/*
+ install -Dm0644 -t $PKG/etc/nwg-hello/ nwg-hello-default.json
+ install -Dm0644 -t $PKG/etc/nwg-hello/ nwg-hello-default.css
+ install -Dm0644 -t $PKG/etc/nwg-hello/ hyprland.conf
+ install -Dm0644 -t $PKG/etc/nwg-hello/ sway-config
+ install -Dm0644 -t $PKG/etc/nwg-hello/ README
+ install -Dm0644 -t $PKG/usr/share/nwg-hello/ nwg.jpg
+ install -Dm0644 -t $PKG/usr/share/nwg-hello/ img/*
install -d $PKG/var/cache/nwg-hello
- install -Dm644 -t $PKG/var/cache/nwg-hello cache.json -o greeter
+ install -Dm0644 -t $PKG/var/cache/nwg-hello cache.json -o greeter
python3 setup.py install --root="$PKG" --optimize=1
-# install patched Slackware config file into package so
-# things work auto-magically upon install.
-cat $CWD/nwg-hello.json > $PKG/etc/nwg-hello/nwg-hello.json
+# install default config file into package so things work
+# auto-magically upon install
+install -Dm0644 -t $PKG/etc/nwg-hello/nwg-hello.json $CWD/nwg-hello.json
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
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a README* \
+cp -a LICENSE README* \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/desktop/nwg-hello/nwg-hello.info b/desktop/nwg-hello/nwg-hello.info
index 63bf622a6a..6d839b0bc2 100644
--- a/desktop/nwg-hello/nwg-hello.info
+++ b/desktop/nwg-hello/nwg-hello.info
@@ -1,8 +1,8 @@
PRGNAM="nwg-hello"
-VERSION="0.1.6"
+VERSION="0.1.7"
HOMEPAGE="https://github.com/nwg-piotr/nwg-hello/"
-DOWNLOAD="https://github.com/nwg-piotr/nwg-hello/archive/v0.1.6/nwg-hello-0.1.6.tar.gz"
-MD5SUM="6b73f21c506d6550e639ea152ab6ed91"
+DOWNLOAD="https://github.com/nwg-piotr/nwg-hello/archive/v0.1.7/nwg-hello-0.1.7.tar.gz"
+MD5SUM="8e49f2de026a3970652e986742f97522"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="gtk-layer-shell greetd"