Files
guru/app-text/lorien-bin/lorien-bin-0.5.0.ebuild
Gonçalo Duarte 2b3eaa0d2f app-text/lorien-bin: add 0.5.0, drop 0.5.0
Signed-off-by: Gonçalo Duarte <gonegrier.duarte@gmail.com>
2023-08-16 12:01:54 +01:00

39 lines
1.1 KiB
Bash

# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit desktop xdg
SRC_URI="https://github.com/mbrlabs/Lorien/releases/download/v${PV}/Lorien_${PV}_Linux.tar.xz -> ${P}.tar.xz"
DESCRIPTION="Infinite canvas drawing/whiteboarding. Made with Godot."
HOMEPAGE="https://github.com/mbrlabs/Lorien"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
S="${WORKDIR}/Lorien_${PV}_Linux"
src_install() {
#Copy Manual & Make a copy of the folder
cp "${FILESDIR}/manual_v${PV}.md" "${S}/manual_v${PV}.md"
cp -r "${S}" "${WORKDIR}/Lorien"
#Install in /opt
insinto /opt
doins -r "${WORKDIR}/Lorien"
fperms +x /opt/Lorien/Lorien.x86_64
#Install icon and desktop file
domenu "${FILESDIR}/lorien.desktop"
doicon "${FILESDIR}/lorien.png"
}
pkg_postinst() {
xdg_desktop_database_update
ewarn "Manual of this package is hosted on the github repo: https://github.com/mbrlabs/Lorien/blob/main/docs/manuals/manual_v${PV}.md"
ewarn "You also have a copy of the manual in /opt/Lorien/manual_v${PV}.md"
ewarn "Note: The manual is writen in Markdown format"
}