Date: Sunday, March 8, 2020 @ 07:45:25 Author: heftig Revision: 591468
archrelease: copy trunk to community-testing-x86_64 Added: almanah/repos/community-testing-x86_64/ almanah/repos/community-testing-x86_64/PKGBUILD (from rev 591467, almanah/trunk/PKGBUILD) ----------+ PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) Copied: almanah/repos/community-testing-x86_64/PKGBUILD (from rev 591467, almanah/trunk/PKGBUILD) =================================================================== --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2020-03-08 07:45:25 UTC (rev 591468) @@ -0,0 +1,36 @@ +# Maintainer: Balló György <ballogyor+arch at gmail dot com> + +pkgname=almanah +pkgver=0.12.0 +pkgrel=2 +pkgdesc="Small GTK+ application to allow you to keep a diary of your life" +arch=('x86_64') +url="https://wiki.gnome.org/Apps/Almanah_Diary" +license=('GPL') +depends=('evolution' 'libcryptui' 'gtkspell3' 'gtksourceview3') +makedepends=('git' 'meson') +_commit=08da456675ce01f966c3d541faaa59de63654d4b # tags/0.12.0^0 +source=("git+https://gitlab.gnome.org/GNOME/almanah.git#commit=$_commit") +sha256sums=('SKIP') + +pkgver() { + cd $pkgname + git describe --tags | sed 's/^V_//;s/_/./g;s/-/+/g' +} + +prepare() { + cd $pkgname +} + +build() { + arch-meson $pkgname build + ninja -C build +} + +check() { + meson test -C build --print-errorlogs +} + +package() { + DESTDIR="$pkgdir" meson install -C build +}