blob: 645a8783184be569220f0819ef56cb7da7d3af99 (
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: Areskul <areskul@areskul.com>
pkgname="pipelight"
pkgver="0.3.3"
pkgrel=1
pkgdesc="A Rust/Typescript based absurd automation tool"
arch=(x86_64)
url="https://gitea.com/areska/pipelight.git"
license=('GPL2')
depends=()
makedepends=(git make)
provides=("pipelight")
conflicts=("pipelight")
source=(git+$url)
md5sums=('SKIP') #autofill using updpkgsums
build() {
cd $pkgname
cargo build --release
}
package() {
cd $pkgname
bin="target/release/$pkgname"
install -Dm755 $bin -t $pkgdir/usr/bin
install -Dm755 $bin-run -t $pkgdir/usr/bin
install -Dm755 $bin-trigger -t $pkgdir/usr/bin
}
|