From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 24AB51388C1 for ; Mon, 23 Nov 2015 17:37:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5923121C0C4; Mon, 23 Nov 2015 17:37:49 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 030B421C0C4 for ; Mon, 23 Nov 2015 17:37:48 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 05B7034016B for ; Mon, 23 Nov 2015 17:37:47 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2E47E105C for ; Mon, 23 Nov 2015 17:37:45 +0000 (UTC) From: "Patrice Clement" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Patrice Clement" Message-ID: <1448290192.0b1e6698b130aa33ad9dda5d8a503476eba962d1.monsieurp@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/linuxdoc-tools/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-text/linuxdoc-tools/linuxdoc-tools-0.9.71-r1.ebuild app-text/linuxdoc-tools/linuxdoc-tools-0.9.71.ebuild X-VCS-Directories: app-text/linuxdoc-tools/ X-VCS-Committer: monsieurp X-VCS-Committer-Name: Patrice Clement X-VCS-Revision: 0b1e6698b130aa33ad9dda5d8a503476eba962d1 X-VCS-Branch: master Date: Mon, 23 Nov 2015 17:37:45 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: a8b4870a-ac1a-4f2a-aab7-ee8c4a61fab1 X-Archives-Hash: df576eacff450a30e6d0012c716638cc commit: 0b1e6698b130aa33ad9dda5d8a503476eba962d1 Author: Ilya Tumaykin gmail com> AuthorDate: Mon Nov 23 12:06:07 2015 +0000 Commit: Patrice Clement gentoo org> CommitDate: Mon Nov 23 14:49:52 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b1e6698 app-text/linuxdoc-tools: fix TeX styles installation, minor cleanups Inherit latex-package eclass and rehash kpathsea database after installation and removal. Make TeX styles installation path consistent with latex-package eclass. ...-0.9.71.ebuild => linuxdoc-tools-0.9.71-r1.ebuild} | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/app-text/linuxdoc-tools/linuxdoc-tools-0.9.71.ebuild b/app-text/linuxdoc-tools/linuxdoc-tools-0.9.71-r1.ebuild similarity index 81% rename from app-text/linuxdoc-tools/linuxdoc-tools-0.9.71.ebuild rename to app-text/linuxdoc-tools/linuxdoc-tools-0.9.71-r1.ebuild index b2494b2..b45639c 100644 --- a/app-text/linuxdoc-tools/linuxdoc-tools-0.9.71.ebuild +++ b/app-text/linuxdoc-tools/linuxdoc-tools-0.9.71-r1.ebuild @@ -3,11 +3,13 @@ # $Id$ EAPI=5 + AUTOTOOLS_AUTORECONF=1 AUTOTOOLS_IN_SOURCE_BUILD=1 - +# Source tarball has SHA1 of release in the name of the second topmost directory GIT_SHA1="5a46c4ced4ef899b398bcedf8ccd29d6f2584100" -inherit autotools-utils perl-module sgml-catalog toolchain-funcs + +inherit autotools-utils latex-package perl-module sgml-catalog toolchain-funcs DESCRIPTION="A toolset for processing LinuxDoc DTD SGML files" HOMEPAGE="https://gitlab.com/agmartin/linuxdoc-tools" @@ -34,6 +36,7 @@ DEPEND="${RDEPEND} " DOCS=( ChangeLog README ) + S="${WORKDIR}/${PN}-upstream/${PV}-${GIT_SHA1}" sgml-catalog_cat_include "/etc/sgml/linuxdoc.cat" \ @@ -53,7 +56,7 @@ src_configure() { tc-export CC local myeconfargs=( --disable-docs - --with-texdir="/usr/share/texmf/tex/latex/misc" + --with-texdir="${TEXMF}/tex/latex/${PN}" --with-perllibdir="${VENDOR_ARCH}" --with-installed-iso-entities ) @@ -72,3 +75,13 @@ src_install() { autotools-utils_src_install } + +pkg_postinst() { + latex-package_pkg_postinst + sgml-catalog_pkg_postinst +} + +pkg_postrm() { + latex-package_pkg_postrm + sgml-catalog_pkg_postrm +}