summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a14f5e7990b0390795669ea4f3d00c12ac03baff (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
# Maintainer: Integral <integral@member.fsf.org>

pkgname=clapgrep
pkgver=25.05+1
pkgrel=1
pkgdesc="One app to search through all your files"
arch=('x86_64' 'aarch64' 'riscv64')
url="https://github.com/luleyleo/${pkgname}"
license=('GPL-3.0-or-later')
depends=('gtk4' 'libadwaita' 'gtksourceview5' 'poppler-glib')
makedepends=('meson' 'cargo' 'blueprint-compiler')
source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/refs/tags/v${pkgver}.tar.gz")
sha256sums=('8fba493b7398ed01979c0ba9450308c219f498d6da8570799f0c2a1ac7d10d9d')

build() {
	arch-meson "${pkgname}-${pkgver/+/-}/" build
	meson compile -C build
}

check() {
	meson test -C build --print-errorlogs
}

package() {
	meson install -C build --no-rebuild --destdir "${pkgdir}"
}