[arch-commits] Commit in almanah/repos (2 files)

Jan Steffens heftig at archlinux.org
Fri Oct 2 20:25:05 UTC 2020


    Date: Friday, October 2, 2020 @ 20:25:05
  Author: heftig
Revision: 715638

archrelease: copy trunk to community-staging-x86_64

Added:
  almanah/repos/community-staging-x86_64/
  almanah/repos/community-staging-x86_64/PKGBUILD
    (from rev 715637, almanah/trunk/PKGBUILD)

----------+
 PKGBUILD |   39 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)

Copied: almanah/repos/community-staging-x86_64/PKGBUILD (from rev 715637, almanah/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-10-02 20:25:05 UTC (rev 715638)
@@ -0,0 +1,39 @@
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+
+pkgname=almanah
+pkgver=0.12.2
+pkgrel=1
+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=92e52b316c5ffeea614a410905c95cb99b53ef44  # tags/0.12.2^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
+
+  # https://gitlab.gnome.org/GNOME/almanah/-/issues/4
+  git cherry-pick -n 0b944a92ebc5f5c69156a0f46b8560a35384233c
+}
+
+build() {
+  arch-meson $pkgname build
+  meson compile -C build
+}
+
+check() {
+  meson test -C build --print-errorlogs
+}
+
+package() {
+  DESTDIR="$pkgdir" meson install -C build
+}



More information about the arch-commits mailing list