35 lines
1.2 KiB
Bash
35 lines
1.2 KiB
Bash
# Template file for 'rio'
|
|
pkgname=rio
|
|
version=0.0.28
|
|
revision=1
|
|
build_style=cargo
|
|
make_install_args="--path rio"
|
|
hostmakedepends="pkg-config"
|
|
makedepends="fontconfig-devel freetype-devel libglvnd-devel libxcb-devel libxkbcommon-devel wayland-devel"
|
|
depends="rio-terminfo-${version}_${revision}"
|
|
short_desc="Hardware-accelerated GPU terminal emulator powered by WebGPU"
|
|
maintainer="Marcin Puc <tranzystorek.io@protonmail.com>"
|
|
license="MIT"
|
|
homepage="https://raphamorim.io/rio/"
|
|
changelog="https://raw.githubusercontent.com/raphamorim/rio/main/CHANGELOG.md"
|
|
distfiles="https://github.com/raphamorim/rio/archive/refs/tags/v${version}.tar.gz"
|
|
checksum=9883320942e83994fd6ee3e2272ec811d99677fa59f3c8ccd0437735d74d0dec
|
|
|
|
do_install() {
|
|
# avoid doing a rebuild in install due to complex feature setup
|
|
vbin target/${RUST_TARGET}/release/rio
|
|
vinstall misc/logo.svg 644 usr/share/icons/hicolor/scalable/apps rio.svg
|
|
vinstall misc/rio.desktop 644 usr/share/applications
|
|
vlicense LICENSE
|
|
|
|
vmkdir usr/share/terminfo
|
|
tic -sx -o ${DESTDIR}/usr/share/terminfo misc/rio.terminfo
|
|
}
|
|
|
|
rio-terminfo_package() {
|
|
short_desc+=" - terminfo data"
|
|
pkg_install() {
|
|
vmove usr/share/terminfo
|
|
}
|
|
}
|