blob: e8372ede44f449ebe121448067b8faf1611468e4 (
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: Siddhant Madhur <siddhant.madhur@gmail.com>
pkgname=straw
pkgver=v2.1.alpha
pkgrel=1
pkgdesc="CLI tool to easily go-to projects all over your desktop and open a new tmux session in it"
arch=(x86_64)
url="https://github.com/siddhantmadhur/straw"
license=(MIT)
makedepends=(git cargo)
depends=(tmux)
provides=(straw)
source=("straw::git+https://github.com/siddhantmadhur/straw.git")
sha256sums=(SKIP)
pkgver () {
cd straw
git describe --tags --abbrev=0
}
build() {
cd straw
cargo build --release
}
package() {
cd straw
install -Dm0755 -t "$pkgdir/usr/bin/" "target/release/$pkgname"
}
|