[arch-commits] Commit in bonzomatic/repos/community-x86_64 (PKGBUILD PKGBUILD)
Alexander Rødseth
arodseth at archlinux.org
Wed May 5 08:57:19 UTC 2021
Date: Wednesday, May 5, 2021 @ 08:57:19
Author: arodseth
Revision: 927436
archrelease: copy trunk to community-x86_64
Added:
bonzomatic/repos/community-x86_64/PKGBUILD
(from rev 927435, bonzomatic/trunk/PKGBUILD)
Deleted:
bonzomatic/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 93 ++++++++++++++++++++++++++++---------------------------------
1 file changed, 44 insertions(+), 49 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-05-05 08:57:14 UTC (rev 927435)
+++ PKGBUILD 2021-05-05 08:57:19 UTC (rev 927436)
@@ -1,49 +0,0 @@
-# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
-# 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
-pkgrel=1
-pkgdesc='Live shader coding tool'
-arch=(x86_64)
-url='https://github.com/Gargaj/bonzomatic'
-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')
-
-prepare() {
- convert "$pkgname/data/unix/icon.png" -resize 128x128 "$srcdir/$pkgname.png"
-}
-
-build() {
- mkdir -p build
- cd build
- cmake "$srcdir/$pkgname" \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_INSTALL_LIBDIR=lib \
- -DCMAKE_C_FLAGS="$CFLAGS -fPIC -w" \
- -DCMAKE_CXX_FLAGS="$CFLAGS -fPIC -w" \
- -G Ninja
- ninja
-}
-
-package() {
- DESTDIR="$pkgdir" ninja -C build install
-
- # Fix insecure rpath
- chrpath -d "$pkgdir/usr/bin/bonzomatic"
-
- # Install license
- install -Dm644 $pkgname/LICENSE \
- "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-
- # Install 128x128 icon
- install -Dm644 $pkgname.png "$pkgdir/usr/share/pixmaps/$pkgname.png"
-}
-
-# getver: github.com/Gargaj/Bonzomatic/releases
-# vim: ts=2 sw=2 et:
Copied: bonzomatic/repos/community-x86_64/PKGBUILD (from rev 927435, bonzomatic/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-05-05 08:57:19 UTC (rev 927436)
@@ -0,0 +1,44 @@
+# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
+# Contributor: Robin Broda <robin at broda dot me>
+
+pkgname=bonzomatic
+pkgver=1.0.20210307
+pkgrel=1
+pkgdesc='Live shader coding tool'
+arch=(x86_64)
+url='https://github.com/Gargaj/bonzomatic'
+license=(custom:Unlicense)
+depends=(alsa-lib fontconfig hicolor-icon-theme libglvnd)
+makedepends=(chrpath cmake git glu imagemagick libxcursor libxi libxinerama libxrandr ninja)
+source=("$pkgname::git+$url#commit=59053815ae8f967476e6b68137357ad7f9d8bb3b") # tag: 2021-03-07
+b2sums=(SKIP)
+
+prepare() {
+ convert "$pkgname/data/unix/icon.png" -resize 128x128 "$srcdir/$pkgname.png"
+}
+
+build() {
+ 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 \
+ -S $pkgname
+ ninja -C build
+}
+
+package() {
+ DESTDIR="$pkgdir" ninja -C build install
+
+ # Fix insecure rpath
+ chrpath -d "$pkgdir/usr/bin/bonzomatic"
+
+ # Package license
+ install -Dm644 $pkgname/LICENSE \
+ "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+
+ # Package desktop icon
+ install -Dm644 $pkgname.png "$pkgdir/usr/share/pixmaps/$pkgname.png"
+}
More information about the arch-commits
mailing list