summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9d72aef2fe575fec91ef04f370d188dd7c9083f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Contributor: Balló György <ballogyor+arch at gmail dot com>

pkgname=simple-diary-gtk
pkgver=0.2.1
pkgrel=1
pkgdesc='Simple and lightweight diary app'
arch=('x86_64')
url='https://github.com/johan-bjareholt/simple-diary-gtk'
license=('GPL3')
depends=('libhandy' 'md4c' 'webkit2gtk')
makedepends=('appstream-glib' 'meson')
source=("https://github.com/johan-bjareholt/$pkgname/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
sha256sums=('4b51b1b0f4d2c1607e034a6037cad94d34b91256a17bb946a1d4889dae95936d')

build() {
  arch-meson $pkgname-$pkgver build
  meson compile -C build
}

check() {
  meson test -C build --print-errorlogs
}

package() {
  DESTDIR="$pkgdir" meson install -C build
}