blob: 1ed2f983635000da4da9f8e83c2c41b6da0d3eda (
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
|
# Maintainer: Namkhai B. <echo em.roekn@kn | rev>
pkgname=gyr
pkgver=0.1.5
pkgrel=0
pkgdesc='Blazing fast TUI launcher for GNU/Linux and *BSD'
arch=('any')
url="https://sr.ht/~nkeor/gyr"
license=('BSD-2-Clause')
makedepends=('rust')
source=("https://git.sr.ht/~nkeor/gyr/archive/v${pkgver}.tar.gz")
sha256sums=('2df97d64a524af3c6e7cd9b5e6eacc375603ee8329dadb03a071b5fbed2bfbdd')
build() {
cd ${pkgname}-v${pkgver}
cargo build --release
}
package() {
cd ${pkgname}-v${pkgver}
strip "target/release/${pkgname}"
install -Dm755 "target/release/${pkgname}" \
-t "${pkgdir}/usr/bin"
}
|