[arch-commits] Commit in goxel/trunk (PKGBUILD)

Alexander Rødseth arodseth at gemini.archlinux.org
Fri Sep 3 13:50:21 UTC 2021


    Date: Friday, September 3, 2021 @ 13:50:21
  Author: arodseth
Revision: 1010667

upgpkg: goxel 0.10.8-1

Modified:
  goxel/trunk/PKGBUILD

----------+
 PKGBUILD |   16 +++++++---------
 1 file changed, 7 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-09-03 13:48:02 UTC (rev 1010666)
+++ PKGBUILD	2021-09-03 13:50:21 UTC (rev 1010667)
@@ -2,8 +2,8 @@
 # Contributor: Tesx <tesfabpel at gmail.com>
 
 pkgname=goxel
-pkgver=0.10.7
-pkgrel=2
+pkgver=0.10.8
+pkgrel=1
 pkgdesc='3D program that lets you create voxel volumes'
 arch=(x86_64)
 url='https://goxel.xyz/'
@@ -11,18 +11,16 @@
 depends=(glfw gtk3)
 makedepends=(scons)
 source=("$pkgname-$pkgver.tar.gz::https://github.com/guillaumechereau/$pkgname/archive/v$pkgver.tar.gz")
-b2sums=('88371b85335d2ef60a13817d3d2c958fdcd35ae46efca0c97d44e97db238e34cee52f8867cad801fb6a2b3fe4e657175410ee1319f9015cbecc22e2026ff206c')
+b2sums=('6752c350b456fd021f066e51d8d3f0af8d1146703998858b80dd39328c0137a8e243598f6103cdae511a13d8e4666d90958676ddd6b48d5a26e892672d2c221a')
 
 prepare() {
-  cd $pkgname-$pkgver
-  sed -i 's|scons mode=release|scons mode=release werror=n|
-          s|/share/applications/goxel.desktop|/share/applications/io.github.guillaumechereau.Goxel.desktop|
-          s|install -Dm744 goxel|install -Dm755 goxel|' Makefile
-  sed -i 's|\${SNAP}/icon.png|goxel|' snap/gui/goxel.desktop
+  # 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
 }
 
 build() {
-  make -C $pkgname-$pkgver
+  make -C "$pkgname-$pkgver"
 }
 
 package() {



More information about the arch-commits mailing list