alacritty: bump version and fix license

This commit is contained in:
Ella-0 2021-05-21 10:17:46 +01:00
parent 646e441078
commit c70baf31f8

22
pkgs/alacritty/build.sh Normal file
View 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
}