Date: Sunday, September 27, 2020 @ 16:51:15 Author: heftig Revision: 396761
archrelease: copy trunk to gnome-unstable-x86_64 Added: gnome-clocks/repos/gnome-unstable-x86_64/ gnome-clocks/repos/gnome-unstable-x86_64/PKGBUILD (from rev 396759, gnome-clocks/trunk/PKGBUILD) ----------+ PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) Copied: gnome-clocks/repos/gnome-unstable-x86_64/PKGBUILD (from rev 396759, gnome-clocks/trunk/PKGBUILD) =================================================================== --- gnome-unstable-x86_64/PKGBUILD (rev 0) +++ gnome-unstable-x86_64/PKGBUILD 2020-09-27 16:51:15 UTC (rev 396761) @@ -0,0 +1,37 @@ +# Maintainer: Jan Alexander Steffens (heftig) <hef...@archlinux.org> + +pkgname=gnome-clocks +pkgver=3.38.0 +pkgrel=1 +pkgdesc="Clocks applications for GNOME" +url="https://wiki.gnome.org/Apps/Clocks" +arch=(x86_64) +license=(GPL) +depends=(gtk3 libgweather gnome-desktop geoclue2 geocode-glib gsound libhandy) +makedepends=(vala gobject-introspection yelp-tools git meson) +groups=(gnome) +_commit=e9e612a96f302d6b405f30af1725042360be1fdc # tags/3.38.0^0 +source=("git+https://gitlab.gnome.org/GNOME/gnome-clocks.git#commit=$_commit") +sha256sums=('SKIP') + +pkgver() { + cd $pkgname + git describe --tags | sed 's/-/+/g' +} + +prepare() { + cd $pkgname +} + +build() { + arch-meson $pkgname build + meson compile -C build +} + +check() { + meson test -C build --print-errorlogs +} + +package() { + DESTDIR="$pkgdir" meson install -C build +}