summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2018-12-05 20:08:05 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2018-12-05 20:12:40 +0100
commit1963e58cf69099c0d1d7c60e5d203e123cd825d4 (patch)
treee40f3a98ba729f0ad1c0765baeb1fe5bbdad035e /x11-misc
parentx11-misc/qcomicbook: Fix HOMEPAGE (diff)
downloadgentoo-1963e58cf69099c0d1d7c60e5d203e123cd825d4.tar.gz
gentoo-1963e58cf69099c0d1d7c60e5d203e123cd825d4.tar.bz2
gentoo-1963e58cf69099c0d1d7c60e5d203e123cd825d4.zip
x11-misc/qcomicbook: Drop unnecessary use of vcs-snapshot
Predictable dir is predictable. Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'x11-misc')
-rw-r--r--x11-misc/qcomicbook/qcomicbook-0.9.1.ebuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/x11-misc/qcomicbook/qcomicbook-0.9.1.ebuild b/x11-misc/qcomicbook/qcomicbook-0.9.1.ebuild
index aede992489de..aaa44f685145 100644
--- a/x11-misc/qcomicbook/qcomicbook-0.9.1.ebuild
+++ b/x11-misc/qcomicbook/qcomicbook-0.9.1.ebuild
@@ -3,13 +3,14 @@
EAPI=6
+MY_PN="QComicBook"
CMAKE_IN_SOURCE_BUILD=1
PLOCALES="cs_CZ de_DE es_ES fi_FI fr_CA fr_FR it_IT ko_KR nl_NL pl_PL pt_BR ru_RU uk_UA zh_CN"
-inherit cmake-utils flag-o-matic l10n vcs-snapshot
+inherit cmake-utils flag-o-matic l10n
DESCRIPTION="A viewer for comic book archives containing jpeg/png images"
HOMEPAGE="https://github.com/stolowski/QComicBook"
-SRC_URI="https://github.com/stolowski/QComicBook/archive/${PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI="https://github.com/stolowski/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
@@ -28,6 +29,8 @@ DEPEND="${RDEPEND}
DOCS=( AUTHORS ChangeLog NEWS README THANKS TODO )
+S="${WORKDIR}/${MY_PN}-${PV}"
+
src_prepare() {
rm_loc() {
rm "i18n/${PN}_${1}.ts" || die "removing ${1} locale failed"