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

Alexander Rødseth arodseth at gemini.archlinux.org
Sat Aug 20 17:08:54 UTC 2022


    Date: Saturday, August 20, 2022 @ 17:08:54
  Author: arodseth
Revision: 1271089

upgpkg: goxel 0.11.0-1

Modified:
  goxel/trunk/PKGBUILD

----------+
 PKGBUILD |   24 +++++++++---------------
 1 file changed, 9 insertions(+), 15 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-08-20 17:05:14 UTC (rev 1271088)
+++ PKGBUILD	2022-08-20 17:08:54 UTC (rev 1271089)
@@ -2,34 +2,28 @@
 # Contributor: Tesx <tesfabpel at gmail.com>
 
 pkgname=goxel
-pkgver=0.10.8
-pkgrel=3
+pkgver=0.11.0
+pkgrel=1
 pkgdesc='3D program that lets you create voxel volumes'
 arch=(x86_64)
 url='https://goxel.xyz/'
 license=(GPL3)
 depends=(glfw gtk3)
-makedepends=(scons)
-source=("$pkgname-$pkgver.tar.gz::https://github.com/guillaumechereau/$pkgname/archive/v$pkgver.tar.gz")
-b2sums=('6752c350b456fd021f066e51d8d3f0af8d1146703998858b80dd39328c0137a8e243598f6103cdae511a13d8e4666d90958676ddd6b48d5a26e892672d2c221a')
+makedepends=(git scons)
+source=("git+https://github.com/guillaumechereau/goxel#commit=4c22f3304e1fd4478413fda2a8d39098f1c1bb28") # tag: v0.11.0
+b2sums=(SKIP)
 
 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' ext_src/imgui/imgui.cpp
-
-  # Desktop shortcut fixes
+  cd $pkgname
+  sed -i 's|\${SNAP}/icon.png|goxel|;s|Name=goxel|Name=Goxel|' snap/gui/goxel.desktop
   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() {
-  cd $pkgname-$pkgver
+  cd $pkgname
   scons mode=release werror=n
 }
 
 package() {
-  make -C $pkgname-$pkgver DESTDIR="$pkgdir" PREFIX=/usr install
+  make -C $pkgname DESTDIR="$pkgdir" PREFIX=/usr install
 }



More information about the arch-commits mailing list