[arch-commits] Commit in goxel/repos/community-x86_64 (PKGBUILD PKGBUILD)

Alexander Rødseth arodseth at gemini.archlinux.org
Sat Sep 4 15:51:51 UTC 2021


    Date: Saturday, September 4, 2021 @ 15:51:51
  Author: arodseth
Revision: 1011339

archrelease: copy trunk to community-x86_64

Added:
  goxel/repos/community-x86_64/PKGBUILD
    (from rev 1011338, goxel/trunk/PKGBUILD)
Deleted:
  goxel/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   63 +++++++++++++++++++++++++++++++++----------------------------
 1 file changed, 35 insertions(+), 28 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-09-04 15:51:45 UTC (rev 1011338)
+++ PKGBUILD	2021-09-04 15:51:51 UTC (rev 1011339)
@@ -1,28 +0,0 @@
-# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
-# Contributor: Tesx <tesfabpel at gmail.com>
-
-pkgname=goxel
-pkgver=0.10.8
-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')
-
-prepare() {
-  # 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"
-}
-
-package() {
-  make -C $pkgname-$pkgver DESTDIR="$pkgdir" PREFIX=/usr install
-}

Copied: goxel/repos/community-x86_64/PKGBUILD (from rev 1011338, goxel/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-09-04 15:51:51 UTC (rev 1011339)
@@ -0,0 +1,35 @@
+# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
+# Contributor: Tesx <tesfabpel at gmail.com>
+
+pkgname=goxel
+pkgver=0.10.8
+pkgrel=2
+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')
+
+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
+  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
+  scons mode=release werror=n
+}
+
+package() {
+  make -C $pkgname-$pkgver DESTDIR="$pkgdir" PREFIX=/usr install
+}



More information about the arch-commits mailing list