blob: 7739235cb706190748544d2657ff7bc2e7e72bc9 (
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
|
# Maintainer: yuhldr <yuhldr@gmail.com>
pkgname=lfy
pkgver=0.0.7
pkgrel=1
pkgdesc="翻译软件,使用adwaita和python原生开发,免费支持谷歌、必应、百度、腾讯翻译。A translation app by gtk4 and adwaita. Support Google, Bing, Baidu, Tencent Translate for free."
arch=('any')
url="https://github.com/ldrfy/lfy"
license=('GPL3')
depends=('libadwaita' 'python-gobject' 'python-requests')
makedepends=('git' 'gobject-introspection' 'meson')
checkdepends=('appstream-glib')
source=(${url}/archive/refs/tags/v${pkgver}.zip)
sha256sums=("f08caa70ed84875b6acd74917b0f9e2d7a7bbfa815aaa3927103a94da6123757")
build() {
cd ${pkgname}-${pkgver}
meson _build --prefix="/usr"
meson compile -C _build
}
check() {
cd ${pkgname}-${pkgver}
meson test -C _build --print-errorlogs
}
package() {
cd ${pkgname}-${pkgver}
meson install -C _build --destdir "$pkgdir"
}
|