summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f4c1fbaa0223b9260eb02197775cc19ee961aaa4 (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
27
28
29
30
31
32
33
34
35
36
# Maintainer: Igor Dyatlov <dyatlov.igor@protonmail.com>
# ex-Maintainer: Mufeed Ali <lastweakness@tuta.io>

pkgname=wordbook
_gitname=Wordbook
pkgver=0.3.1
pkgrel=3
pkgdesc='An offline dictionary app for GNOME'
arch=(any)
url=https://github.com/fushinari/Wordbook
license=(GPL3)
depends=(
    espeak-ng
    gtk3
    libhandy
    python
    python-gobject
    python-wn
)
makedepends=('gobject-introspection' 'meson')
checkdepends=('appstream-glib')
source=("${url}/archive/${pkgver}.tar.gz")
b2sums=('94c079dcd3ab65736c189943db18c5fabfe5dd74dcac8b99a7c32832486d1421ac1ea3305269a2195771589b15c164395fe3fd8a8cd09c0b0809a0d317232cd0')

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

check() {
  meson test -C build
}

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