53 lines
998 B
Bash
53 lines
998 B
Bash
# 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 terminal program for legacy BBS systems."
|
|
HOMEPAGE="https://github.com/mkrueger/icy_tools"
|
|
|
|
SRC_URI="https://github.com/mkrueger/icy_tools/releases/download/IcyTerm${PV}/icy_term_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_term.deb
|
|
}
|
|
|
|
src_install() {
|
|
dobin usr/bin/icy_term
|
|
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_term/*
|
|
}
|
|
|
|
pkg_postinst() {
|
|
xdg_desktop_database_update
|
|
}
|
|
|
|
pkg_postrm() {
|
|
xdg_desktop_database_update
|
|
} |