desktop/gopsuinfo: Updated for version 0.1.6.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
3e97dc3497
commit
7cbbf0c42d
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue