[arch-commits] Commit in gnome-calculator/repos (2 files)
Jan Steffens
heftig at gemini.archlinux.org
Mon Nov 8 19:11:45 UTC 2021
Date: Monday, November 8, 2021 @ 19:11:45
Author: heftig
Revision: 427546
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 427545, gnome-calculator/trunk/PKGBUILD)
----------+
PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
Copied: gnome-calculator/repos/gnome-unstable-x86_64/PKGBUILD (from rev 427545, gnome-calculator/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-x86_64/PKGBUILD (rev 0)
+++ gnome-unstable-x86_64/PKGBUILD 2021-11-08 19:11:45 UTC (rev 427546)
@@ -0,0 +1,34 @@
+# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
+# Contributor: Jan de Groot <jgc at archlinux.org>
+
+pkgname=gnome-calculator
+pkgver=41.0
+pkgrel=1
+pkgdesc="GNOME Scientific calculator"
+url="https://wiki.gnome.org/Apps/Calculator"
+arch=(x86_64)
+license=(GPL)
+depends=(gtk3 dconf gtksourceview4 mpfr libsoup libmpc libgee libhandy)
+makedepends=(yelp-tools vala git meson gobject-introspection)
+groups=(gnome)
+_commit=073bd2762b21cd807b3100f6fd244b427780292b # tags/41.0^0
+source=("git+https://gitlab.gnome.org/GNOME/gnome-calculator.git#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd $pkgname
+ git describe --tags | sed '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"
+}
More information about the arch-commits
mailing list