Date: Tuesday, October 25, 2022 @ 16:16:27
Author: heftig
Revision: 458919
archrelease: copy trunk to gnome-unstable-x86_64
Added:
gnome-calculator/repos/gnome-unstable-x86_64/
gnome-calculator/repos/gnome-unstable-x86_64/PKGBUILD
(from rev 458918, gnome-calculator/trunk/PKGBUILD)
----------+
PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
Copied: gnome-calculator/repos/gnome-unstable-x86_64/PKGBUILD (from rev 458918,
gnome-calculator/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-x86_64/PKGBUILD (rev 0)
+++ gnome-unstable-x86_64/PKGBUILD 2022-10-25 16:16:27 UTC (rev 458919)
@@ -0,0 +1,38 @@
+# Maintainer: Jan Alexander Steffens (heftig) <[email protected]>
+# Contributor: Jan de Groot <[email protected]>
+
+pkgname=gnome-calculator
+pkgver=43.0.1
+pkgrel=1
+pkgdesc="GNOME Scientific calculator"
+url="https://wiki.gnome.org/Apps/Calculator"
+arch=(x86_64)
+license=(GPL)
+depends=(libadwaita dconf gtksourceview5 mpfr libsoup3 libmpc libgee)
+makedepends=(yelp-tools vala git meson gobject-introspection)
+provides=(libgcalc-2.so libgci-1.so)
+groups=(gnome)
+options=(debug)
+_commit=debc596cdfaaa3cbfa4300699fcb63362c595507 # tags/43.0.1^0
+source=("git+https://gitlab.gnome.org/GNOME/gnome-calculator.git#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd $pkgname
+ git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
+}
+
+build() {
+ arch-meson $pkgname build
+ meson compile -C build
+}
+
+check() {
+ meson test -C build --print-errorlogs
+}
+
+package() {
+ meson install -C build --destdir "$pkgdir"
+}
+
+# vim:set sw=2 sts=-1 et: