diff options
Diffstat (limited to 'app-text/zathura-djvu/zathura-djvu-0.2.3.ebuild')
-rw-r--r-- | app-text/zathura-djvu/zathura-djvu-0.2.3.ebuild | 24 |
1 files changed, 11 insertions, 13 deletions
diff --git a/app-text/zathura-djvu/zathura-djvu-0.2.3.ebuild b/app-text/zathura-djvu/zathura-djvu-0.2.3.ebuild index a73fd153f5a2..b02dee3dc614 100644 --- a/app-text/zathura-djvu/zathura-djvu-0.2.3.ebuild +++ b/app-text/zathura-djvu/zathura-djvu-0.2.3.ebuild @@ -1,26 +1,24 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=5 inherit eutils toolchain-funcs -[[ ${PV} == 9999* ]] && inherit git-2 + +if [[ ${PV} == *9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://git.pwmt.org/pwmt/zathura-djvu.git" + EGIT_BRANCH="develop" +else + KEYWORDS="amd64 arm x86" + SRC_URI="http://pwmt.org/projects/zathura/plugins/download/${P}.tar.gz" +fi DESCRIPTION="DjVu plug-in for zathura" HOMEPAGE="http://pwmt.org/projects/zathura/" -if ! [[ ${PV} == 9999* ]]; then -SRC_URI="http://pwmt.org/projects/zathura/plugins/download/${P}.tar.gz" -fi -EGIT_REPO_URI="git://git.pwmt.org/${PN}.git" -EGIT_BRANCH="develop" LICENSE="ZLIB" SLOT="0" -if ! [[ ${PV} == 9999* ]]; then -KEYWORDS="amd64 arm x86" -else -KEYWORDS="" -fi IUSE="" RDEPEND=">=app-text/djvu-3.5.24-r1:= @@ -30,7 +28,7 @@ RDEPEND=">=app-text/djvu-3.5.24-r1:= DEPEND="${RDEPEND} virtual/pkgconfig" -pkg_setup() { +src_configure() { myzathuraconf=( CC="$(tc-getCC)" LD="$(tc-getLD)" |