blob: 99aef09e71f36c8759d258744e0153a6216d3723 (
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: danb <danb@hasi.it>
pkgname=rawr
pkgver=0.1
pkgrel=2
pkgdesc="An instant file sharing tool that respects your privacy by not caching any files"
arch=('x86_64')
url="https://gitlab.hasi.it/danb/rawr"
license=('GPL3')
makedepends=('rustup')
source=("git+https://gitlab.hasi.it/danb/rawr")
sha256sums=('SKIP')
build() {
cd ${pkgname}
rustup default nightly
cargo build --release --all-features --target-dir=target
}
check() {
cd ${pkgname}
cargo test --release --target-dir=target
}
package() {
cd ${pkgname}
install -Dm 755 target/release/${pkgname} -t "${pkgdir}/usr/bin"
}
|