blob: 6db9d944aeca0e1dc9485b35d5f15dccc0091a5b (
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
37
38
39
|
# Maintainer: Mark Wagie <mark dot wagie at tutanota dot com>
# Contributor: Mufeed Ali <lastweakness@tuta.io>
pkgname=dialect
pkgver=1.3.0
pkgrel=2
pkgdesc="A translation app for GNOME."
arch=('any')
url="https://github.com/dialect-app/dialect"
license=('GPL3')
depends=('gtk3' 'libhandy' 'python-gobject' 'python-googletrans' 'python-gtts'
'python-httpx' 'gst-python')
makedepends=('meson' 'git' 'gobject-introspection')
checkdepends=('appstream-glib')
conflicts=('gnabel')
replaces=('gnabel')
source=("git+https://github.com/dialect-app/dialect.git#tag=$pkgver"
'git+https://github.com/dialect-app/po.git')
sha256sums=('SKIP'
'SKIP')
prepare() {
cd "$srcdir/$pkgname"
git submodule init
git config submodule.po.url $srcdir/po
git submodule update
}
build() {
arch-meson "$pkgname" build
meson compile -C build
}
check() {
meson test -C build --print-errorlogs
}
package() {
DESTDIR="$pkgdir" meson install -C build
}
|