Date: Friday, March 15, 2019 @ 17:14:28 Author: heftig Revision: 348198
archrelease: copy trunk to gnome-unstable-x86_64 Added: gnome-notes/repos/gnome-unstable-x86_64/ gnome-notes/repos/gnome-unstable-x86_64/PKGBUILD (from rev 348197, gnome-notes/trunk/PKGBUILD) ----------+ PKGBUILD | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) Copied: gnome-notes/repos/gnome-unstable-x86_64/PKGBUILD (from rev 348197, gnome-notes/trunk/PKGBUILD) =================================================================== --- gnome-unstable-x86_64/PKGBUILD (rev 0) +++ gnome-unstable-x86_64/PKGBUILD 2019-03-15 17:14:28 UTC (rev 348198) @@ -0,0 +1,45 @@ +# Maintainer: Jan Alexander Steffens (heftig) <jan.steff...@gmail.com> + +pkgname=gnome-notes +pkgver=3.32.0 +pkgrel=1 +pkgdesc="Write out notes, every detail matters" +url="https://wiki.gnome.org/Apps/Notes" +arch=(x86_64) +license=(GPL) +depends=(tracker webkit2gtk gnome-online-accounts evolution-data-server) +makedepends=(evolution python appstream-glib yelp-tools git meson) +provides=("bijiben=$pkgver") +conflicts=(bijiben) +replaces=(bijiben) +_commit=1534e86e3d669c10f042a731695a8f397572fa86 # tags/BIJIBEN_3_32_0^0 +source=("git+https://gitlab.gnome.org/GNOME/gnome-notes.git#commit=$_commit" + "git+https://gitlab.gnome.org/GNOME/libgd.git") +sha256sums=('SKIP' + 'SKIP') + +pkgver() { + cd $pkgname + git describe --tags | sed 's/^BIJIBEN_//;s/_/./g;s/-/+/g' +} + +prepare() { + cd $pkgname + + git submodule init + git config --local submodule.subprojects/libgd.url "$srcdir/libgd" + git submodule update +} + +build() { + arch-meson $pkgname build + ninja -C build +} + +check() { + meson test -C build +} + +package() { + DESTDIR="$pkgdir" meson install -C build +}