blob: d7349b44113e135d741fc08cb5b74cc44246991d (
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
32
33
|
# Maintainer: Areskul <areskul@areskul.com>
pkgname="pipelight-git"
name="pipelight"
pkgrel=1
pkgver=0
pkgdesc="A Rust based quick automation tool"
arch=("any")
url="https://gitea.com/pipelight/pipelight.git"
license=('GPL2')
depends=(deno)
makedepends=(git make cargo)
provides=("pipelight")
conflicts=("pipelight")
source=(git+$url)
md5sums=('SKIP') #autofill using updpkgsums
build() {
cd $name
cargo build --release
}
package() {
cd $name
bin="target/release/$name"
install -Dm755 $bin -t $pkgdir/usr/bin
install -Dm755 $bin-run -t $pkgdir/usr/bin
install -Dm755 $bin-trigger -t $pkgdir/usr/bin
}
pkgver() {
cd "$name"
git describe --tags --abbrev=0 | sed s/v//
}
|