31 lines
719 B
Bash
31 lines
719 B
Bash
# Copyright 1999-2019 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=6
|
|
inherit cmake-utils xdg-utils
|
|
DESCRIPTION="A simple gtk3 reader for fb2 ebooks"
|
|
HOMEPAGE="https://github.com/Cactus64k/simple-fb2-reader"
|
|
SRC_URI="https://github.com/Cactus64k/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
|
LICENSE="GPL-3"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64"
|
|
IUSE=""
|
|
RDEPEND="x11-libs/gtk+:3
|
|
dev-libs/libxml2
|
|
dev-libs/libzip
|
|
dev-db/sqlite"
|
|
DEPEND="${RDEPEND}
|
|
sys-devel/gettext
|
|
dev-util/pkgconfig"
|
|
|
|
pkg_postinst() {
|
|
xdg_desktop_database_update
|
|
xdg_mimeinfo_database_update
|
|
xdg_icon_cache_update
|
|
}
|
|
|
|
pkg_postrm() {
|
|
xdg_desktop_database_update
|
|
xdg_mimeinfo_database_update
|
|
xdg_icon_cache_update
|
|
}
|