Date: Saturday, September 4, 2021 @ 15:51:45 Author: arodseth Revision: 1011338
upgpkg: goxel 0.10.8-2 Modified: goxel/trunk/PKGBUILD ----------+ PKGBUILD | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2021-09-04 15:51:23 UTC (rev 1011337) +++ PKGBUILD 2021-09-04 15:51:45 UTC (rev 1011338) @@ -3,7 +3,7 @@ pkgname=goxel pkgver=0.10.8 -pkgrel=1 +pkgrel=2 pkgdesc='3D program that lets you create voxel volumes' arch=(x86_64) url='https://goxel.xyz/' @@ -14,13 +14,20 @@ b2sums=('6752c350b456fd021f066e51d8d3f0af8d1146703998858b80dd39328c0137a8e243598f6103cdae511a13d8e4666d90958676ddd6b48d5a26e892672d2c221a') prepare() { + cd $pkgname-$pkgver + # Quick hack for the imgui.ini file that is placed directly in the home directory. # Upstream bug report: https://github.com/guillaumechereau/goxel/issues/250 - sed -i 's,"imgui.ini",".goxelrc",g' $pkgname-$pkgver/ext_src/imgui/imgui.cpp + sed -i 's,"imgui.ini",".goxelrc",g' ext_src/imgui/imgui.cpp + + # Desktop shortcut fixes + sed -i 's|/share/applications/goxel.desktop|/share/applications/io.github.guillaumechereau.Goxel.desktop|g' Makefile + sed -i 's|\${SNAP}/icon.png|goxel|;s|Name=goxel|Name=Goxel|' snap/gui/goxel.desktop } build() { - make -C "$pkgname-$pkgver" + cd $pkgname-$pkgver + scons mode=release werror=n } package() {
