commit:     6a55a87b8ec98cc4bb21e102d054ec2775184ccb
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 19 02:32:20 2023 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Tue Dec 19 02:32:20 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a55a87b

app-text/paper-clip: sync live 9999

Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 app-text/paper-clip/paper-clip-9999.ebuild | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/app-text/paper-clip/paper-clip-9999.ebuild 
b/app-text/paper-clip/paper-clip-9999.ebuild
index 2dc0892a58ef..3d5055cd6861 100644
--- a/app-text/paper-clip/paper-clip-9999.ebuild
+++ b/app-text/paper-clip/paper-clip-9999.ebuild
@@ -10,19 +10,21 @@ inherit gnome2-utils meson vala xdg
 DESCRIPTION="Edit the title, author, keywords and more details of PDF 
documents"
 HOMEPAGE="https://github.com/Diego-Ivan/Paper-Clip/";
 
-if [[ ${PV} == *9999* ]] ; then
+if [[ "${PV}" == *9999* ]] ; then
        inherit git-r3
+
        EGIT_REPO_URI="https://github.com/Diego-Ivan/${REAL_PN}.git";
 else
        SRC_URI="https://github.com/Diego-Ivan/${REAL_PN}/archive/v${PV}.tar.gz
                -> ${P}.tar.gz"
        S="${WORKDIR}/${REAL_PN}-${PV}"
+
        KEYWORDS="~amd64 ~x86"
 fi
 
 LICENSE="GPL-3+"
 SLOT="0"
-RESTRICT="test"         # Only validations, appdata one fails.
+RESTRICT="test"                      # Only validations, the appdata one fails.
 
 RDEPEND="
        app-text/poppler:=[cairo,introspection]
@@ -53,9 +55,9 @@ src_install() {
        einstalldocs
 
        # Symlink "pdf-metadata-editor" (old name?) to "${PN}"
-       dosym -r /usr/bin/pdf-metadata-editor /usr/bin/${PN}
+       dosym -r /usr/bin/pdf-metadata-editor "/usr/bin/${PN}"
 
-       mv "${ED}"/usr/share/appdata "${ED}"/usr/share/metainfo || die
+       mv "${ED}/usr/share/appdata" "${ED}/usr/share/metainfo" || die
 }
 
 pkg_postinst() {

Reply via email to