22 lines
892 B
Bash
22 lines
892 B
Bash
# Template file for 'lapce'
|
|
pkgname=lapce
|
|
version=0.4.2
|
|
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 libgit2-1.8-devel"
|
|
short_desc="Lightning-fast and powerful code editor"
|
|
maintainer="Saksham <voidisnull@duck.com>"
|
|
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=1abf998ddaa95e2349691736fda88c16cc34ddf6e3cb2c5fa3dcb5f77c1d1b1c
|
|
|
|
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
|
|
}
|