54 lines
1.1 KiB
Bash
54 lines
1.1 KiB
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 viewer to browse/view Ansi screens."
|
|
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_view_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_view.deb
|
|
}
|
|
|
|
src_install() {
|
|
dobin usr/bin/icy_view
|
|
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_view/*
|
|
}
|
|
|
|
pkg_postinst() {
|
|
xdg_desktop_database_update
|
|
}
|
|
|
|
pkg_postrm() {
|
|
xdg_desktop_database_update
|
|
} |