summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2017-12-25 18:22:33 +0100
committerDavid Seifert <soap@gentoo.org>2017-12-25 20:15:56 +0100
commit2c6097b4fc3e489c9c380e9f23497d099f772e1d (patch)
tree44e6a0ca694458e7332483354e24a60d10987130 /app-text/zathura/zathura-0.3.7.ebuild
parentapp-text/xournal: [QA] Port to git-r3 (diff)
downloadgentoo-2c6097b4fc3e489c9c380e9f23497d099f772e1d.tar.gz
gentoo-2c6097b4fc3e489c9c380e9f23497d099f772e1d.tar.bz2
gentoo-2c6097b4fc3e489c9c380e9f23497d099f772e1d.zip
app-text/zathura: [QA] Port to git-r3
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'app-text/zathura/zathura-0.3.7.ebuild')
-rw-r--r--app-text/zathura/zathura-0.3.7.ebuild26
1 files changed, 13 insertions, 13 deletions
diff --git a/app-text/zathura/zathura-0.3.7.ebuild b/app-text/zathura/zathura-0.3.7.ebuild
index ad77a66a0e0e..8281cf21819d 100644
--- a/app-text/zathura/zathura-0.3.7.ebuild
+++ b/app-text/zathura/zathura-0.3.7.ebuild
@@ -3,22 +3,22 @@
EAPI=5
-inherit eutils fdo-mime multilib toolchain-funcs virtualx
-[[ ${PV} == 9999* ]] && inherit git-2
+inherit eutils multilib toolchain-funcs virtualx xdg-utils
+
+if [[ ${PV} == *9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://git.pwmt.org/pwmt/zathura.git"
+ EGIT_BRANCH="develop"
+else
+ KEYWORDS="amd64 arm x86 ~amd64-linux ~x86-linux"
+ SRC_URI="http://pwmt.org/projects/${PN}/download/${P}.tar.gz"
+fi
DESCRIPTION="A highly customizable and functional document viewer"
HOMEPAGE="http://pwmt.org/projects/zathura/"
-if ! [[ ${PV} == 9999* ]]; then
-SRC_URI="http://pwmt.org/projects/${PN}/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"
-fi
IUSE="+magic sqlite synctex test"
RDEPEND=">=dev-libs/girara-0.2.7:3=
@@ -39,7 +39,7 @@ src_prepare() {
epatch_user
}
-pkg_setup() {
+src_configure() {
myzathuraconf=(
WITH_MAGIC=$(usex magic 1 0)
WITH_SQLITE=$(usex sqlite 1 0)
@@ -67,9 +67,9 @@ src_install() {
}
pkg_postinst() {
- fdo-mime_desktop_database_update
+ xdg_desktop_database_update
}
pkg_postrm() {
- fdo-mime_desktop_database_update
+ xdg_desktop_database_update
}