blob: 822f221ec1f6d6fb08a9f1dd9b74e203d2a7d81f (
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
40
41
42
43
44
45
|
# Maintainer: Mark Wagie <mark dot wagie at proton dot me>
pkgname=cobang
pkgver=1.5.0
pkgrel=1
pkgdesc="A QR code scanner desktop app for Linux"
arch=('any')
url="https://github.com/hongquan/CoBang"
license=('GPL-3.0-or-later')
depends=(
'adwaita-icon-theme'
'gst-plugin-gtk'
'gst-plugins-good'
'gst-python'
'gtk4'
'libadwaita'
'libndp'
'libnm'
'libportal-gtk4'
'libpwquality'
'polkit'
'python-gobject'
'python-logbook'
'python-pillow'
'zbar'
)
makedepends=(
'blueprint-compiler'
'gobject-introspection'
'meson'
)
source=("CoBang-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz")
sha256sums=('4d17649af6a85e218c32bb46edef07e47ea2524f78794c40a5a551d773971527')
build() {
arch-meson "CoBang-$pkgver" build
meson compile -C build
}
check() {
meson test -C build --no-rebuild --print-errorlogs
}
package() {
meson install -C build --no-rebuild --destdir "$pkgdir"
}
|