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

pkgname=clapgrep
pkgver=1.3.1
pkgrel=2
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')
makedepends=('just' 'cargo' 'blueprint-compiler')
source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/refs/tags/v${pkgver}.tar.gz")
sha256sums=('1a0ca6e3c939956fa634c95b442d690137c1ad1e1b76fdcfdbf45f4b6a3a2603')

build() {
	cd "${pkgname}-${pkgver}/"
	just release=true build
}

check() {
	cd "${pkgname}-${pkgver}/"
	just release=true check
}

package() {
	cd "${pkgname}-${pkgver}/"
	just release=true rootdir="${pkgdir}" install
}