lots of updates
This commit is contained in:
parent
872362f202
commit
c89aa236bd
45 changed files with 5388 additions and 74 deletions
23
templates/rust.build.sh
Normal file
23
templates/rust.build.sh
Normal file
|
@ -0,0 +1,23 @@
|
|||
pkgname=
|
||||
pkgver=
|
||||
|
||||
fetch() {
|
||||
curl "" -o $pkgname-$pkgver.tar.xz
|
||||
tar -xf $pkgname-$pkgver.tar.xz
|
||||
}
|
||||
|
||||
build() {
|
||||
cd $pkgname-$pkgver
|
||||
cargo build --release --locked --all-features
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $pkgname-$pkgver
|
||||
install -Dm 755 target/release/${pkgname} -t "${pkgdir}/usr/bin"
|
||||
}
|
||||
|
||||
license() {
|
||||
cd $pkgname-$pkgver
|
||||
cat LICENSE
|
||||
# cat COPYING
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue