mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-28 16:32:57 +02:00
goxel: update to 0.8.0.
This commit is contained in:
parent
7dad689dc1
commit
853b06a7a3
1 changed files with 9 additions and 4 deletions
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'goxel'
|
# Template file for 'goxel'
|
||||||
pkgname=goxel
|
pkgname=goxel
|
||||||
version=0.7.3
|
version=0.8.0
|
||||||
revision=1
|
revision=1
|
||||||
build_style=scons
|
build_style=scons
|
||||||
make_build_args="debug=0 werror=0"
|
make_build_args="debug=0 werror=0"
|
||||||
|
@ -11,7 +11,7 @@ maintainer="John <johnz@posteo.net>"
|
||||||
license="GPL-3.0-or-later"
|
license="GPL-3.0-or-later"
|
||||||
homepage="https://guillaumechereau.github.io/goxel/"
|
homepage="https://guillaumechereau.github.io/goxel/"
|
||||||
distfiles="https://github.com/guillaumechereau/goxel/archive/v${version}.tar.gz"
|
distfiles="https://github.com/guillaumechereau/goxel/archive/v${version}.tar.gz"
|
||||||
checksum=56790d96d9d52d37765ac5c59f924c007885daaa6fb2129baea51dff5380c15c
|
checksum=2fb9328e27b4f24f2ddff9e79f01832661fd626b52fa0079039cbb64a3e704ca
|
||||||
|
|
||||||
if [ "$CROSS_BUILD" ];then
|
if [ "$CROSS_BUILD" ];then
|
||||||
pre_build() {
|
pre_build() {
|
||||||
|
@ -21,11 +21,16 @@ fi
|
||||||
|
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
*-musl) makedepends+=" argp-standalone";;
|
*-musl) makedepends+=" argp-standalone";;
|
||||||
|
i686*) make_build_args+=" cycles=0";;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
sed -i 's|${SNAP}/icon.png|/usr/share/icons/goxel.png|' snap/gui/goxel.desktop
|
sed -i 's|${SNAP}/icon.png|goxel.png|' snap/gui/goxel.desktop
|
||||||
vbin goxel
|
vbin goxel
|
||||||
vinstall snap/gui/goxel.desktop 644 usr/share/applications
|
vinstall snap/gui/goxel.desktop 644 usr/share/applications
|
||||||
vinstall icon.png 644 usr/share/icons goxel.png
|
for size in 16 24 32 48 64 128 256; do
|
||||||
|
vinstall data/icons/icon${size}.png 644 \
|
||||||
|
usr/share/icons/hicolor/${size}x${size}/apps goxel.png
|
||||||
|
done
|
||||||
|
vinstall snap/gui/io.github.guillaumechereau.Goxel.appdata.xml 644 usr/share/metainfo
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue