void-packages/srcpkgs/lapce/template

22 lines
875 B
Bash

# Template file for 'lapce'
pkgname=lapce
version=0.2.8
revision=1
archs="aarch64* x86_64*" # wasmer-vm crate fails to build (unsupported platform)
build_style=cargo
hostmakedepends="pkg-config"
makedepends="fontconfig-devel gtk+3-devel openssl-devel"
short_desc="Lightning-fast and powerful code editor"
maintainer="Alex Lohr <alexthkloss@web.de>"
license="Apache-2.0"
homepage="https://lapce.dev/"
changelog="https://github.com/lapce/lapce/releases"
distfiles="https://github.com/lapce/lapce/archive/refs/tags/v${version}.tar.gz"
checksum=650b81c3dfbd727101111de60c208c191258fb27a96b1cec392afa7c0579a6ff
post_install() {
vinstall extra/linux/dev.lapce.lapce.desktop 644 usr/share/applications/
vinstall extra/linux/dev.lapce.lapce.metainfo.xml 644 usr/share/appdata/
vinstall extra/images/logo_color.svg 644 usr/share/icons/hicolor/scalable/apps/ dev.lapce.lapce.svg
}