blob: a09e138cba1cd3e7b49147beba49f3b5fb66e3d9 (
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
|
# Maintainer: Namkhai B. <echo em.roekn@kn | rev>
_pkgname=gyr
pkgname=${_pkgname}-git
pkgver=0.1.5.r0.gd0c20a6
pkgrel=1
pkgdesc='Blazing fast TUI launcher for GNU/Linux and *BSD (git version)'
arch=('any')
url="https://sr.ht/~nkeor/gyr"
license=('BSD-2-Clause')
makedepends=('rust' 'git')
provides=('gyr')
conflicts=('gyr')
source=("git+https://git.sr.ht/~nkeor/gyr")
sha256sums=('SKIP')
pkgver() {
cd "${srcdir}/${_pkgname}"
printf "%s" "$(git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g')"
}
build() {
cd "${_pkgname}"
cargo build --release
}
package() {
cd "${_pkgname}"
install -Dm755 "target/release/$_pkgname" \
-t "$pkgdir/usr/bin"
}
|