From 683aa10f918ec8fbf7d32e7512a17de74ea13b84 Mon Sep 17 00:00:00 2001 From: zenobit Date: Tue, 27 Dec 2022 19:12:11 +0100 Subject: [PATCH] New package: lapce 0.2.5 --- srcpkgs/lapce/template | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 srcpkgs/lapce/template diff --git a/srcpkgs/lapce/template b/srcpkgs/lapce/template new file mode 100644 index 000000000000..139e1a546bc2 --- /dev/null +++ b/srcpkgs/lapce/template @@ -0,0 +1,22 @@ +# Template file for 'lapce' +pkgname=lapce +version=0.2.5 +revision=1 +archs="aarch64 x86_64" +build_style=cargo +hostmakedepends="cargo cmake pkg-config" +#hostmakedepends="cargo cmake pkg-config python3 fontconfig-devel freetype-devel gtk+3-devel libxcb libxkbcommon openssl-devel cairo-devel atk-devel gdk-pixbuf-devel" +#makedepends="libgcc expat fontconfig freetype gtk+3 libxcb libxkbcommon openssl cairo atk gdk-pixbuf" +makedepends="libgcc expat fontconfig-devel freetype gtk+3-devel glibc libstdc++ libxcb openssl-devel cairo-devel atk-devel gdk-pixbuf-devel" +short_desc="Lightning-fast and Powerful Code Editor written in Rust" +maintainer="zenobit " +license="Apache-2.0" +homepage="https://lapce.dev" +distfiles="https://github.com/lapce/lapce/archive/refs/tags/v${version}.tar.gz" +checksum=3b8357653eda77b2c85306ba9f7202e539987ada4a7b5be2018b142bb23be7e4 + +post_install() { + vinstall extra/linux/dev.lapce.lapce.desktop 0644 usr/share/applications/ + vinstall extra/linux/dev.lapce.lapce.metainfo.xml 0644 usr/share/metainfo/ + vinstall extra/images/logo.png 0644 usr/share/pixmaps/dev.lapce.lapce.png +}