archrelease: copy trunk to community-any
[ArchLinux/community.git] / almanah / trunk / PKGBUILD
blobb600877b1646b00f3b04bbf454d1d041c4583594
1 # Maintainer: Balló György <ballogyor+arch at gmail dot com>
3 pkgname=almanah
4 pkgver=0.12.3
5 pkgrel=5
6 pkgdesc='Small GTK application to allow you to keep a diary of your life'
7 arch=('x86_64')
8 url='https://wiki.gnome.org/Apps/Almanah_Diary'
9 license=('GPL3')
10 depends=('evolution-data-server' 'libcryptui' 'gtkspell3' 'gtksourceview3')
11 makedepends=('appstream-glib' 'meson')
12 source=("https://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz"
13          https://gitlab.gnome.org/GNOME/almanah/-/commit/8c42a676.patch)
14 sha256sums=('94ca4340ec651a58cfeba00f478f5a3db4d99dfac66a46d0d99705be688f305a'
15             'db268e25c626ece9a097e03debb3d6b302c42b6c089cb673d6c9ed459036bd09')
17 prepare() {
18   cd $pkgname-$pkgver
19   patch -p1 < ../8c42a676.patch # Fix build with recent meson
22 build() {
23   arch-meson $pkgname-$pkgver build
24   meson compile -C build
27 check() {
28   meson test -C build --print-errorlogs
31 package() {
32   meson install -C build --destdir "$pkgdir"