blob: f88ca88d1b340d25fcc69585eeb2dcfdaf90a438 (
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: Dezzy <Justin@goredteam.net>
pkgbase=fubar
pkgname=('fubar-cli-git')
pkgver=09d86bc
pkgrel=1
pkgdesc="Formidable Unix Binary Arsenal & Repository"
arch=('x86_64')
url="https://github.com/irishmaestro/fubar"
license=('GPL3')
depends=()
makedepends=('cargo' 'git')
source=("git+$url.git")
sha256sums=('SKIP')
pkgver() {
cd "$srcdir/$pkgbase"
git rev-parse --short HEAD
}
build() {
cd "$srcdir/$pkgbase"
cargo build --release
}
package() {
cd "$srcdir/$pkgbase"
install -Dm755 "target/release/fubar" "$pkgdir/usr/bin/fubar"
}
|