blob: a5e510f6dae787e71b091d9ebab6e14de48f5566 (
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
33
34
35
36
37
38
39
40
41
42
|
# Maintainer: Tavian Barnes <tavianator@tavianator.com>
pkgname=bfs-git
pkgver=3.1.3.r107.37caa3d
pkgrel=1
pkgdesc="A breadth-first version of find."
arch=('i686' 'x86_64' 'arm' 'armv6h' 'armv7h' 'aarch64')
url="https://github.com/tavianator/bfs"
license=('BSD')
groups=()
depends=('acl' 'libcap' 'liburing' 'oniguruma')
makedepends=('git')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
replaces=()
backup=()
options=()
install=
source=('bfs::git+https://github.com/tavianator/bfs.git')
md5sums=('SKIP')
noextract=()
pkgver() {
cd "${srcdir}/${pkgname%-git}"
git describe --long | sed 's/\([^-]*-\)g/r\1/;s/-/./g'
}
build() {
cd "${srcdir}/${pkgname%-git}"
./configure
make
}
check() {
cd "${srcdir}/${pkgname%-git}"
make -k check
}
package() {
cd "${srcdir}/${pkgname%-git}"
make install DESTDIR="${pkgdir}"
install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|