Added lc-make
This commit is contained in:
parent
5ca93ce42d
commit
3d41e0f06a
1 changed files with 25 additions and 0 deletions
25
pkgs/lc-make/build.sh
Normal file
25
pkgs/lc-make/build.sh
Normal file
|
@ -0,0 +1,25 @@
|
|||
pkgname=lc-make
|
||||
pkgver=main
|
||||
|
||||
fetch() {
|
||||
curl -L "https://github.com/LightningCreations/lc-make/archive/refs/heads/main.tar.gz" -o $pkgname-$pkgver.tar.xz
|
||||
tar -xf $pkgname-$pkgver.tar.xz
|
||||
cd $pkgname-$pkgver
|
||||
cargo vendor > .cargo/config
|
||||
}
|
||||
|
||||
build() {
|
||||
cd $pkgname-$pkgver
|
||||
cargo build --release --locked --all-features
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $pkgname-$pkgver
|
||||
install -Dm755 target/release/$pkgname $pkgdir/usr/bin/
|
||||
}
|
||||
|
||||
license() {
|
||||
cd $pkgname-$pkgver
|
||||
cat LICENSE
|
||||
# cat COPYING
|
||||
}
|
Loading…
Reference in a new issue