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

Alexander Rødseth arodseth at archlinux.org
Wed May 5 08:57:14 UTC 2021


    Date: Wednesday, May 5, 2021 @ 08:57:14
  Author: arodseth
Revision: 927435

upgpkg: bonzomatic 1.0.20210307-1

Modified:
  bonzomatic/trunk/PKGBUILD

----------+
 PKGBUILD |   25 ++++++++++---------------
 1 file changed, 10 insertions(+), 15 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-05-05 08:22:20 UTC (rev 927434)
+++ PKGBUILD	2021-05-05 08:57:14 UTC (rev 927435)
@@ -2,8 +2,7 @@
 # Contributor: Robin Broda <robin at broda dot me>
 
 pkgname=bonzomatic
-# Inspired by the MAJOR, MINOR and PATCH versions that are defined in CMakeLists.txt
-pkgver=1.0.20200306
+pkgver=1.0.20210307
 pkgrel=1
 pkgdesc='Live shader coding tool'
 arch=(x86_64)
@@ -11,9 +10,8 @@
 license=(custom:Unlicense)
 depends=(alsa-lib fontconfig hicolor-icon-theme libglvnd)
 makedepends=(chrpath cmake git glu imagemagick libxcursor libxi libxinerama libxrandr ninja)
-# Using latest master from 2020-03-06, while awaiting the next release
-source=("$pkgname::git+$url#commit=55c24f7447536728df4e5a519d0763760a670587")
-md5sums=('SKIP')
+source=("$pkgname::git+$url#commit=59053815ae8f967476e6b68137357ad7f9d8bb3b") # tag: 2021-03-07
+b2sums=(SKIP)
 
 prepare() {
   convert "$pkgname/data/unix/icon.png" -resize 128x128 "$srcdir/$pkgname.png"
@@ -20,15 +18,15 @@
 }
 
 build() {
-  mkdir -p build
-  cd build
-  cmake "$srcdir/$pkgname" \
+  cmake \
+    -B build \
     -DCMAKE_INSTALL_PREFIX=/usr \
     -DCMAKE_INSTALL_LIBDIR=lib \
     -DCMAKE_C_FLAGS="$CFLAGS -fPIC -w" \
     -DCMAKE_CXX_FLAGS="$CFLAGS -fPIC -w" \
-    -G Ninja
-  ninja
+    -G Ninja \
+    -S $pkgname
+  ninja -C build
 }
 
 package() {
@@ -37,13 +35,10 @@
   # Fix insecure rpath
   chrpath -d "$pkgdir/usr/bin/bonzomatic"
 
-  # Install license
+  # Package license
   install -Dm644 $pkgname/LICENSE \
     "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
 
-  # Install 128x128 icon
+  # Package desktop icon
   install -Dm644 $pkgname.png "$pkgdir/usr/share/pixmaps/$pkgname.png"
 }
-
-# getver: github.com/Gargaj/Bonzomatic/releases
-# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list