upgrade supersonic-desktop
Release xbps for amd64 / compilation-amd64 (push) Successful in 23m48s Details

This commit is contained in:
ITmodulo 2024-01-27 22:07:10 +01:00
parent 1f9a14b19c
commit 3de0304d59
1 changed files with 3 additions and 7 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'supersonic-desktop' # Template file for 'supersonic-desktop'
pkgname=supersonic-desktop pkgname=supersonic-desktop
version=0.8.2 version=0.9.0
revision=2 revision=0
build_style=go build_style=go
go_import_path="github.com/dweymouth/supersonic" go_import_path="github.com/dweymouth/supersonic"
hostmakedepends="pkg-config gcc" hostmakedepends="pkg-config gcc"
@ -12,13 +12,9 @@ maintainer="ITmodulo <itmodulo@disroot.org>"
license="GPL-3.0-or-later" license="GPL-3.0-or-later"
homepage="https://github.com/dweymouth/supersonic" homepage="https://github.com/dweymouth/supersonic"
distfiles="https://github.com/dweymouth/supersonic/archive/refs/tags/v${version}.tar.gz" distfiles="https://github.com/dweymouth/supersonic/archive/refs/tags/v${version}.tar.gz"
checksum=55ce49566d3350fe789934310509763dc2646ea09cc5c8d364daca49d692b185 checksum=72284757454830e0a20c803ef156f9a8c3f932c705c4d07c61aea4dbb2aa03ed
post_install() { post_install() {
# go install command has no possibility to change name
# https://github.com/golang/go/issues/47176
# There is confilicting supersonic package on GitHub, see repology
# https://repology.org/projects/?search=supersonic
mv ${DESTDIR}/usr/bin/supersonic "${DESTDIR}/usr/bin/supersonic-desktop" mv ${DESTDIR}/usr/bin/supersonic "${DESTDIR}/usr/bin/supersonic-desktop"
vinstall res/appicon.png 644 usr/share/pixmaps supersonic-desktop.png vinstall res/appicon.png 644 usr/share/pixmaps supersonic-desktop.png
vinstall res/supersonic-desktop.desktop 644 usr/share/applications vinstall res/supersonic-desktop.desktop 644 usr/share/applications