summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8dfa2b180d02319841cfc6432653e379321f9382 (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
# Maintainer: DevHyperCoder <arduinoleo88 at gmail dot com>

pkgname=rbmenu-tui
pkgver=0.1.0
pkgrel=3
pkgdesc="Terminal User Interface for RBMenu"
arch=('x86_64')
url="https://github.com/DevHyperCoder/rbmenu-tui"
license=('GPL')
groups=()
depends=('rbmenu')
makedepends=('git' 'rust' 'cargo') 
source=("${url}/archive/v${pkgver}.zip")
noextract=()
md5sums=('SKIP')

build() {
	cd "$srcdir/$pkgname-$pkgver"
    cargo build --release
}

package() {
	cd "$srcdir/$pkgname-$pkgver"

    install -Dm755 "target/release/rbmenu-tui" \
        -t "$pkgdir/usr/bin/"
}