alacritty: bump version and fix license
This commit is contained in:
parent
646e441078
commit
c70baf31f8
1 changed files with 22 additions and 0 deletions
22
pkgs/alacritty/build.sh
Normal file
22
pkgs/alacritty/build.sh
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
pkgname=alacritty
|
||||||
|
pkgver=0.8.0
|
||||||
|
|
||||||
|
fetch() {
|
||||||
|
curl -L "https://github.com/alacritty/alacritty/archive/refs/tags/v$pkgver.tar.gz" -o $pkgname-$pkgver.tar.xz
|
||||||
|
tar -xf $pkgname-$pkgver.tar.xz
|
||||||
|
}
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd $pkgname-$pkgver
|
||||||
|
cargo build --release --locked --no-default-features --features wayland
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd $pkgname-$pkgver
|
||||||
|
install -Dm755 target/release/$pkgname $pkgdir/usr/bin/
|
||||||
|
}
|
||||||
|
|
||||||
|
license() {
|
||||||
|
cd $pkgname-$pkgver
|
||||||
|
cat LICENSE-APACHE
|
||||||
|
}
|
Loading…
Reference in a new issue