Date: Saturday, April 2, 2022 @ 23:17:18 Author: heftig Revision: 441358
archrelease: copy trunk to gnome-unstable-x86_64 Added: gnote/repos/gnome-unstable-x86_64/ gnote/repos/gnome-unstable-x86_64/PKGBUILD (from rev 441355, gnote/trunk/PKGBUILD) ----------+ PKGBUILD | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) Copied: gnote/repos/gnome-unstable-x86_64/PKGBUILD (from rev 441355, gnote/trunk/PKGBUILD) =================================================================== --- gnome-unstable-x86_64/PKGBUILD (rev 0) +++ gnome-unstable-x86_64/PKGBUILD 2022-04-02 23:17:18 UTC (rev 441358) @@ -0,0 +1,40 @@ +# Maintainer: Jan Alexander Steffens (heftig) <hef...@archlinux.org> +# Contributor: Jan de Groot <j...@archlinux.org> +# Contributor: Ionut Biru <ib...@archlinux.org> +# Contributor: uastasi <uast...@archlinux.us> + +pkgname=gnote +pkgver=42.0 +pkgrel=1 +pkgdesc="A note taking application" +url="https://wiki.gnome.org/Apps/Gnote" +arch=(x86_64) +license=(GPL3) +depends=(gtkmm3 gspell libxslt libsecret) +makedepends=(yelp-tools meson git) +options=(debug) +_commit=8d73a6a2e5aa0fac0f4689d739c31c4933045f5e # tags/42.0^0 +source=("git+https://gitlab.gnome.org/GNOME/gnote.git#commit=$_commit") +sha256sums=('SKIP') + +pkgver() { + cd gnote + git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g' +} + +prepare() { + cd gnote +} + +build() { + arch-meson gnote build + meson compile -C build +} + +check() { + meson test -C build +} + +package() { + meson install -C build --destdir "$pkgdir" +}