blob: 903ac6d81215120bf98b4a95cc5095af5636f20d (
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
|
# This is an example PKGBUILD file. Use this as a start to creating your own,
# and remove these comments. For more information, see 'man PKGBUILD'.
# NOTE: Please fill out the license field for your package! If it is unknown,
# then please put 'unknown'.
# Maintainer: Ayoub Eddaoudi <me@ayoubedd.me>
pkgname=zfind
pkgver=0.4.4
pkgrel=1
pkgdesc="Search for files (even inside tar/zip/7z/rar) using a SQL-WHERE filter"
arch=('x86_64' 'arm64' 'riscv64')
url="https://github.com/laktak/zfind"
license=('MIT')
makedepends=(git go)
provides=(zfind)
source=("$pkgname-$pkgver::git+$url")
sha256sums=('SKIP')
prepare() {
cd "$pkgname-$pkgver"
git checkout "v$pkgver"
}
build() {
cd "$pkgname-$pkgver"
scripts/build
}
package() {
cd "$pkgname-$pkgver"
install -Dm755 zfind "$pkgdir/usr/bin/zfind"
}
|