blob: 90df1611311e71a1707087b3152f41f0f5b5bbc9 (
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
|
# Maintainer: Mark Wagie <mark dot wagie at proton dot me>
pkgname=textsnatcher
pkgver=2.0.0
pkgrel=1
pkgdesc="Snatch Text with just a Drag"
arch=('x86_64')
url="https://textsnatcher.rf.gd"
license=('GPL-3.0-or-later')
depends=('granite' 'libhandy' 'libportal' 'tesseract')
makedepends=('meson' 'vala')
optdepends=('scrot: screenshot access on Xorg'
'xdg-desktop-portal: screenshot access on Wayland')
source=("$pkgname-$pkgver.tar.gz::https://github.com/RajSolai/TextSnatcher/archive/refs/tags/v$pkgver.tar.gz")
sha256sums=('0467a720b96ddfcdef822d7ed794d9ad3973fc39223851b4a82ba2de7715f220')
build() {
arch-meson TextSnatcher-$pkgver build
meson compile -C build
}
package() {
meson install -C build --destdir "$pkgdir"
ln -s "/usr/bin/com.github.rajsolai.$pkgname" "$pkgdir/usr/bin/$pkgname"
}
|