33 lines
1.1 KiB
Bash
33 lines
1.1 KiB
Bash
# Template file for 'rio'
|
|
pkgname=rio
|
|
version=0.2.0
|
|
revision=1
|
|
build_style=cargo
|
|
build_wrksrc="frontends/rioterm"
|
|
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="tranzystorekk <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=605ca1e5094119337223378e477236e7de7d4110473aefb7e51396dbd0e89a4c
|
|
|
|
post_install() {
|
|
vinstall ${wrksrc}/misc/logo.svg 644 usr/share/icons/hicolor/scalable/apps rio.svg
|
|
vinstall ${wrksrc}/misc/rio.desktop 644 usr/share/applications
|
|
vlicense ${wrksrc}/LICENSE
|
|
|
|
vmkdir usr/share/terminfo
|
|
tic -sx -o ${DESTDIR}/usr/share/terminfo ${wrksrc}/misc/rio.terminfo
|
|
}
|
|
|
|
rio-terminfo_package() {
|
|
short_desc+=" - terminfo data"
|
|
pkg_install() {
|
|
vmove usr/share/terminfo
|
|
}
|
|
}
|