mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 09:57:14 +08:00
texlive-htmlxml: 2015.38712
This commit is contained in:
parent
60a866d502
commit
f673b3e6e8
@ -1,25 +1,20 @@
|
||||
#
|
||||
# Chakra Packages for Chakra, part of chakra-project.org
|
||||
#
|
||||
# Maintainer: Samir Benmendil <ram-z[at]chakra-project[dot]org>
|
||||
# Contributor: Rémy Oudompheng <remy@archlinux.or>
|
||||
# Contributor: Giuseppe Calà <jiveaxe@gmail.com>
|
||||
# Contributions from Arch: https://www.archlinux.org/packages/extra/any/texlive-htmlxml/
|
||||
|
||||
|
||||
pkgname=texlive-htmlxml
|
||||
pkgver=2014.34624
|
||||
pkgver=2015.38712
|
||||
_revnr=${pkgver#*.}
|
||||
pkgrel=2
|
||||
pkgrel=1
|
||||
pkgdesc="TeX Live - Packages to convert LaTeX to XML/HTML, and typeset XML/SGML"
|
||||
license=('GPL')
|
||||
arch=(any)
|
||||
arch=(x86_64)
|
||||
depends=('texlive-core')
|
||||
groups=('texlive-most')
|
||||
url='http://tug.org/texlive/'
|
||||
source=("ftp://ftp.archlinux.org/other/texlive/$pkgname-$pkgver-src.zip")
|
||||
source=("https://sources.archlinux.org/other/texlive/$pkgname-$pkgver-src.zip")
|
||||
options=('!emptydirs')
|
||||
install=texlive.install
|
||||
md5sums=('aa91467d1bf1fa040f986ca8db07fcf1')
|
||||
md5sums=('0c8177b8dbed4e6dbf0fa4201be4a1f7')
|
||||
|
||||
build() {
|
||||
cd "${srcdir}"
|
||||
@ -27,12 +22,15 @@ build() {
|
||||
bsdtar -xf $p
|
||||
done
|
||||
rm -rf {tlpkg,doc,source}
|
||||
|
||||
# patch for biblatex 3.1
|
||||
sed -i '/abx@version/ s,3\.0,3\.1,' texmf-dist/tex/generic/tex4ht/biblatex.4ht
|
||||
}
|
||||
|
||||
package() {
|
||||
install -m755 -d $pkgdir/var/lib/texmf/arch/installedpkgs
|
||||
install -m755 -d $pkgdir/var/lib/texmf/chakra/installedpkgs
|
||||
sed -i '/^#/d' CONTENTS
|
||||
install -m644 CONTENTS $pkgdir/var/lib/texmf/arch/installedpkgs/${pkgname}_${_revnr}.pkgs
|
||||
install -m644 CONTENTS $pkgdir/var/lib/texmf/chakra/installedpkgs/${pkgname}_${_revnr}.pkgs
|
||||
install -m755 -d $pkgdir/usr/share
|
||||
wanteddirs=$(for d in *; do test -d $d && [[ $d != texmf* ]] && echo $d; done) || true
|
||||
for dir in $wanteddirs; do
|
||||
|
Loading…
Reference in New Issue
Block a user