iglunix/pkgs/alacritty/build.sh
2021-05-21 10:17:46 +01:00

22 lines
444 B
Bash

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
}