[arch-commits] Commit in gnome-font-viewer/repos (2 files)
Jan Steffens
heftig at gemini.archlinux.org
Sat Apr 2 22:08:21 UTC 2022
Date: Saturday, April 2, 2022 @ 22:08:21
Author: heftig
Revision: 441332
archrelease: copy trunk to gnome-unstable-x86_64
Added:
gnome-font-viewer/repos/gnome-unstable-x86_64/
gnome-font-viewer/repos/gnome-unstable-x86_64/PKGBUILD
(from rev 441330, gnome-font-viewer/trunk/PKGBUILD)
----------+
PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
Copied: gnome-font-viewer/repos/gnome-unstable-x86_64/PKGBUILD (from rev 441330, gnome-font-viewer/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-x86_64/PKGBUILD (rev 0)
+++ gnome-unstable-x86_64/PKGBUILD 2022-04-02 22:08:21 UTC (rev 441332)
@@ -0,0 +1,34 @@
+# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
+
+pkgname=gnome-font-viewer
+pkgver=42.0
+pkgrel=1
+pkgdesc="A font viewer utility for GNOME"
+url="https://gitlab.gnome.org/GNOME/gnome-font-viewer"
+arch=(x86_64)
+license=(GPL)
+depends=(gtk4 gnome-desktop-4 libadwaita)
+makedepends=(git meson)
+groups=(gnome)
+options=(debug)
+_commit=d1557c667507ec819048f901abb49c7dc05ee8ea # tags/42.0^0
+source=("git+https://gitlab.gnome.org/GNOME/gnome-font-viewer.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"
+}
More information about the arch-commits
mailing list