linamh/app-text/icy-draw/icy-draw-0.3.0.ebuild

54 lines
1.1 KiB
Bash
Raw Normal View History

2024-06-23 20:24:16 +02:00
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit unpacker pam xdg-utils
DESCRIPTION="Is a drawing tool supporting almost all ANSI formats."
HOMEPAGE="https://github.com/mkrueger/icy_tools"
#SRC_URI="https://github.com/mkrueger/icy_tools/releases/download/IcyTerm${PV}/icy_term_linux_${PV}.zip"
SRC_URI="https://github.com/mkrueger/icy_tools/releases/download/0.0.1/icy_draw_linux_${PV}.zip"
LICENSE="apache"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
RESTRICT="strip mirror test"
DEPEND="|| ( sys-devel/base-gcc sys-devel/gcc )
sys-apps/dbus
sys-apps/systemd
sys-libs/glibc
sys-libs/pam"
RDEPEND="${DEPEND}"
S=${WORKDIR}
src_unpack() {
unpack ${A}
unpack_deb ${S}/icy_draw.deb
}
src_install() {
dobin usr/bin/icy_draw
dodir /usr/share/applications
cp -aR usr/share/applications/* "${D}/usr/share/applications"
dodir /usr/share/icons
cp -aR usr/share/icons/* "${D}/usr/share/icons"
#dodoc usr/share/doc/icy_draw/*
}
pkg_postinst() {
xdg_desktop_database_update
}
pkg_postrm() {
xdg_desktop_database_update
}