aboutsummaryrefslogtreecommitdiff
path: root/desktop/gopsuinfo
diff options
context:
space:
mode:
authorJay Lanagan <1995739+mac-a-r0ni@users.noreply.github.com>2024-02-01 06:05:57 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-02-02 06:40:55 +0700
commit7cbbf0c42d033b0d35606f7491112aa1091f26e3 (patch)
treefece6089a9697d89f78abec1a781887d2747f52a /desktop/gopsuinfo
parent3e97dc34975983b5abd1471bcfa0bc7834b72302 (diff)
desktop/gopsuinfo: Updated for version 0.1.6.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/gopsuinfo')
-rw-r--r--desktop/gopsuinfo/gopsuinfo.SlackBuild12
-rw-r--r--desktop/gopsuinfo/gopsuinfo.info10
2 files changed, 11 insertions, 11 deletions
diff --git a/desktop/gopsuinfo/gopsuinfo.SlackBuild b/desktop/gopsuinfo/gopsuinfo.SlackBuild
index 9ad4b91a8d3d..bd33d49e0de9 100644
--- a/desktop/gopsuinfo/gopsuinfo.SlackBuild
+++ b/desktop/gopsuinfo/gopsuinfo.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for gopsuinfo
-# 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=gopsuinfo
-VERSION=${VERSION:-0.1.5}
+VERSION=${VERSION:-0.1.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -85,11 +85,11 @@ find -L . \
CGO_CFLAGS="$SLKCFLAGS" \
CGO_CXXFLAGS="$SLKCFLAGS" \
-go build -o bin/$PRGNAM *.go || exit 1
+go build -mod vendor -mod=readonly -o bin/$PRGNAM *.go || exit 1
-install -D -t $PKG/usr/share/$PRGNAM/icons_light $TMP/$PRGNAM-$VERSION/icons_light/*
-install -D -t $PKG/usr/share/$PRGNAM/icons_dark $TMP/$PRGNAM-$VERSION/icons_dark/*
-install -Dm755 -t $PKG/usr/bin $TMP/$PRGNAM-$VERSION/bin/$PRGNAM
+install -Dm0644 -t $PKG/usr/share/$PRGNAM/icons_light icons_light/*
+install -Dm0644 -t $PKG/usr/share/$PRGNAM/icons_dark icons_dark/*
+install -Dm0755 -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
diff --git a/desktop/gopsuinfo/gopsuinfo.info b/desktop/gopsuinfo/gopsuinfo.info
index 01f6204553ed..0c92eb34973f 100644
--- a/desktop/gopsuinfo/gopsuinfo.info
+++ b/desktop/gopsuinfo/gopsuinfo.info
@@ -1,10 +1,10 @@
PRGNAM="gopsuinfo"
-VERSION="0.1.5"
+VERSION="0.1.6"
HOMEPAGE="https://github.com/nwg-piotr/gopsuinfo"
-DOWNLOAD="https://github.com/nwg-piotr/gopsuinfo/archive/v0.1.5/gopsuinfo-0.1.5.tar.gz \
- https://slackware.lngn.net/pub/source/gopsuinfo/gopsuinfo-vendor-0.1.5.tar.gz"
-MD5SUM="64bcba5b335195d489306459ebb0280c \
- d2e5c9f360df56b059588cabed910b96"
+DOWNLOAD="https://github.com/nwg-piotr/gopsuinfo/archive/v0.1.6/gopsuinfo-0.1.6.tar.gz \
+ https://slackware.lngn.net/pub/source/gopsuinfo/gopsuinfo-vendor-0.1.6.tar.gz"
+MD5SUM="809eab8d9a3b52942ae1c84254ca7192 \
+ 67256ca149768c1fd394e2415217e818"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="google-go-lang"