diff --git a/srcpkgs/cosmic-applibrary b/srcpkgs/cosmic-applibrary deleted file mode 120000 index 8ed2b8ce2ba..00000000000 --- a/srcpkgs/cosmic-applibrary +++ /dev/null @@ -1 +0,0 @@ -COSMIC-Desktop \ No newline at end of file diff --git a/srcpkgs/cosmic-applibrary/template b/srcpkgs/cosmic-applibrary/template new file mode 100644 index 00000000000..8da931e7bb7 --- /dev/null +++ b/srcpkgs/cosmic-applibrary/template @@ -0,0 +1,18 @@ +# Template file for 'cosmic-applibrary' +pkgname=cosmic-applibrary +version=1.0.0.alpha.1 +revision=1 +_tag=epoch-${version/.alpha/-alpha} +build_style=cargo +hostmakedepends="pkg-config just" +makedepends="libxkbcommon-devel" +short_desc="TODO: cosmic-applibrary short_desc" +maintainer="Daniel Martinez " +license="GPL-3.0-only" +homepage="https://github.com/pop-os/cosmic-applibrary" +distfiles="https://github.com/pop-os/cosmic-applibrary/archive/refs/tags/${_tag}.tar.gz" +checksum=6481c4d92a5fcaef93698b19bfac28485daaddba8789e50c07410ee9e33a4e22 + +do_install() { + just --set cargo-target-dir "target/${RUST_TARGET}" --set rootdir ${DESTDIR} --set prefix /usr install +}