blob: 1a61f4d6f1111ad9bfac83d9b35051351e14bb12 (
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
|
# Maintainer: faetalize
pkgname=waytator
pkgver=1.2.4
pkgrel=1
pkgdesc='Screenshot annotator and lightweight image editor'
arch=('x86_64')
url='https://github.com/faetalize/waytator'
license=('GPL-3.0-or-later')
depends=('gtk4' 'libadwaita')
optdepends=('tesseract: OCR support' 'wl-clipboard: niri screenshot clipboard support')
makedepends=('meson' 'ninja' 'pkgconf')
options=('!debug')
source=("$pkgname-$pkgver.tar.gz::https://github.com/faetalize/waytator/archive/refs/tags/v$pkgver.tar.gz")
sha256sums=('834d7af698b579d357dc0a6511aaa28c5bb9a99293edf03c3a5590973bb6d9e9')
build() {
local meson_options=(
--buildtype=release
)
arch-meson "$pkgname-$pkgver" build "${meson_options[@]}"
meson compile -C build
}
package() {
meson install -C build --destdir "$pkgdir"
install -Dm644 "$pkgname-$pkgver/LICENSE" \
"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|