diff --git a/srcpkgs/cosmic-comp b/srcpkgs/cosmic-comp deleted file mode 120000 index 8ed2b8ce2ba..00000000000 --- a/srcpkgs/cosmic-comp +++ /dev/null @@ -1 +0,0 @@ -COSMIC-Desktop \ No newline at end of file diff --git a/srcpkgs/cosmic-comp/template b/srcpkgs/cosmic-comp/template new file mode 100644 index 00000000000..107f7525d08 --- /dev/null +++ b/srcpkgs/cosmic-comp/template @@ -0,0 +1,19 @@ +# Template file for 'cosmic-comp' +pkgname=cosmic-comp +version=1.0.0.alpha.1 +revision=1 +_tag=epoch-${version/.alpha/-alpha} +build_style=cargo +hostmakedepends="pkg-config" +makedepends="eudev-libudev-devel libseat-devel libxkbcommon-devel libinput-devel + pixman-devel libgbm-devel" +short_desc="TODO: cosmic-comp short_desc" +maintainer="Daniel Martinez " +license="GPL-3.0-only" +homepage="https://github.com/pop-os/cosmic-comp" +distfiles="https://github.com/pop-os/cosmic-comp/archive/refs/tags/${_tag}.tar.gz" +checksum=46f552fbce2c3139e2b407d98d3115b35a240ba79d2b6bc420010efa67abd21b + +do_install() { + CARGO_TARGET_DIR="target/${RUST_TARGET}" DESTDIR=${DESTDIR} make install +}