forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dev-tex/svninfo: bump EAPI and stuff
Signed-off-by: Aaron Bauman <[email protected]>
- Loading branch information
1 parent
3af85c9
commit 0466124
Showing
1 changed file
with
13 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,27 @@ | ||
# Copyright 1999-2018 Gentoo Foundation | ||
# Copyright 1999-2019 Gentoo Authors | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=0 | ||
EAPI=7 | ||
|
||
inherit latex-package eutils | ||
inherit latex-package | ||
|
||
LICENSE="LPPL-1.2" | ||
DESCRIPTION="A LaTeX module to access SVN version info" | ||
HOMEPAGE="http://www.brucker.ch/projects/svninfo/index.en.html" | ||
SRC_URI="http://www.brucker.ch/projects/svninfo/download/${P}.tar.gz" | ||
SLOT="0" | ||
HOMEPAGE="https://www.brucker.ch/projects/svninfo/index.en.html" | ||
SRC_URI="https://www.brucker.ch/projects/svninfo/download/${P}.tar.gz" | ||
|
||
KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ppc ppc64 s390 sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" | ||
|
||
LICENSE="LPPL-1.2" | ||
SLOT="0" | ||
IUSE="" | ||
|
||
DOCS="README" | ||
DOCS=( "README" ) | ||
|
||
TEXMF=/usr/share/texmf-site | ||
PATCHES=( "${FILESDIR}/${PN}-0.5-latex-compile.patch" ) | ||
|
||
src_unpack() { | ||
unpack ${A} | ||
cd "${S}" | ||
epatch "${FILESDIR}/${PN}-0.5-latex-compile.patch" | ||
} | ||
TEXMF=/usr/share/texmf-site | ||
|
||
src_compile() { | ||
export VARTEXFONTS="${T}/fonts" | ||
emake -j1 || die "compilation failed" | ||
emake -j1 | ||
} |