[arch-commits] Commit in gnome-calculator/repos (2 files)
Jan Steffens
heftig at archlinux.org
Sun Sep 27 16:51:15 UTC 2020
Date: Sunday, September 27, 2020 @ 16:51:15
Author: heftig
Revision: 396762
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 396759, gnome-calculator/trunk/PKGBUILD)
----------+
PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
Copied: gnome-calculator/repos/gnome-unstable-x86_64/PKGBUILD (from rev 396759, gnome-calculator/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-x86_64/PKGBUILD (rev 0)
+++ gnome-unstable-x86_64/PKGBUILD 2020-09-27 16:51:15 UTC (rev 396762)
@@ -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=3.38.0+7+gc840c69c
+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)
+makedepends=(yelp-tools vala git appstream-glib meson)
+groups=(gnome)
+_commit=c840c69c2a95cda083368a93070ef472db0f07b2 # gnome-3-38
+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() {
+ DESTDIR="$pkgdir" meson install -C build
+}
More information about the arch-commits
mailing list