diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-12-26 20:10:49 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-12-26 20:10:49 +0000 |
commit | c85a90f90521c7e11d618b527d6630cc64cecbd4 (patch) | |
tree | 27c1f04d8eab0e0140fb62887a6a5d4d87c32ad9 /app-text/zathura-ps/zathura-ps-9999.ebuild | |
parent | 2f51c9978dda4c6e8debca43e4235ecc86914032 (diff) |
gentoo resync : 26.12.2017
Diffstat (limited to 'app-text/zathura-ps/zathura-ps-9999.ebuild')
-rw-r--r-- | app-text/zathura-ps/zathura-ps-9999.ebuild | 24 |
1 files changed, 11 insertions, 13 deletions
diff --git a/app-text/zathura-ps/zathura-ps-9999.ebuild b/app-text/zathura-ps/zathura-ps-9999.ebuild index f2c470b53ec1..222eb1f4a012 100644 --- a/app-text/zathura-ps/zathura-ps-9999.ebuild +++ b/app-text/zathura-ps/zathura-ps-9999.ebuild @@ -1,26 +1,24 @@ -# Copyright 1999-2015 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-ps.git" + EGIT_BRANCH="develop" +else + KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux" + SRC_URI="http://pwmt.org/projects/zathura/plugins/download/${P}.tar.gz" +fi DESCRIPTION="PostScript 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="https://git.pwmt.org/pwmt/${PN}.git" -EGIT_BRANCH="develop" LICENSE="ZLIB" SLOT="0" -if ! [[ ${PV} == 9999* ]]; then -KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux" -else -KEYWORDS="" -fi IUSE="" RDEPEND=">=app-text/libspectre-0.2.6:= @@ -30,7 +28,7 @@ RDEPEND=">=app-text/libspectre-0.2.6:= DEPEND="${RDEPEND} virtual/pkgconfig" -pkg_setup() { +src_configure() { myzathuraconf=( CC="$(tc-getCC)" LD="$(tc-getLD)" |