blob: b52c77da25974f4a076dfc0c225257abdbc9c24c (
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
|
# Maintainer: Sainnhe Park <sainnhe@gmail.com>
pkgname=yoyo-leaf-git
pkgver=r8.9cf58d1
pkgrel=1
pkgdesc='An awesome command-line fuzzy finder'
arch=('x86_64')
url='https://github.com/Yggdroot/Yoyo-leaf'
license=('Apache')
makedepends=('git')
provides=('yoyo-leaf' 'yy')
conflicts=('yoyo-leaf' 'yy')
source=("git+${url}")
sha256sums=('SKIP')
pkgver() {
cd "${srcdir}/Yoyo-leaf"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "${srcdir}/Yoyo-leaf"
make -j$(nproc)
}
package() {
install -Dm 755 "${srcdir}/Yoyo-leaf/build/yy" \
"${pkgdir}/usr/bin/yy"
}
|