aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-05-06 12:33:12 -0300
committerprspkt <prspkt@protonmail.com>2019-05-07 11:48:49 +0300
commit0dc5536f179f2425bdc7595757b754490afbcfd9 (patch)
tree88130d0c86396dfd3b680327feeb59f68ab984ab /testing
parent0c3db43d35fa26f9cd43cd8fe0ecda8346c5ff53 (diff)
downloadaports-0dc5536f179f2425bdc7595757b754490afbcfd9.tar.bz2
aports-0dc5536f179f2425bdc7595757b754490afbcfd9.tar.xz
testing/alacritty: install .desktop file
Diffstat (limited to 'testing')
-rw-r--r--testing/alacritty/APKBUILD7
1 files changed, 2 insertions, 5 deletions
diff --git a/testing/alacritty/APKBUILD b/testing/alacritty/APKBUILD
index 6d2f46909d..c5ce11cae8 100644
--- a/testing/alacritty/APKBUILD
+++ b/testing/alacritty/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=alacritty
pkgver=0.3.2
-pkgrel=0
+pkgrel=1
pkgdesc="A cross-platform, GPU-accelerated terminal emulator"
url="https://github.com/jwilm/alacritty"
arch="x86_64" # via Rust
@@ -17,25 +17,22 @@ source="$pkgname-$pkgver.tar.gz::https://github.com/jwilm/$pkgname/archive/v$pkg
ignore-ft-fc-tests-font_mated.patch
ignore-x11-tests-clipboard_works.patch
"
-builddir="$srcdir/$pkgname-$pkgver"
export CARGO_HOME="$srcdir"/cargo
export RUSTFLAGS="-C target-feature=-crt-static"
build() {
- cd "$builddir"
cargo build --release --verbose
}
check() {
- cd "$builddir"
cargo test --all --release --verbose
}
package() {
- cd "$builddir"
install -Dm755 target/release/alacritty "$pkgdir"/usr/bin/alacritty
install -Dm644 extra/alacritty.man "$pkgdir"/usr/share/man/man1/alacritty.1
install -Dm644 alacritty.yml "$pkgdir"/etc/alacritty/alacritty.yml
+ install -Dm644 extra/linux/alacritty.desktop -t "$pkgdir"/usr/share/applications
}
bashcomp() {