summaryrefslogtreecommitdiff
path: root/libre
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-09-15 16:33:50 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-09-22 16:15:04 -0300
commit67b6e29e70a0b9aa3024e1118c0c68a4d95513aa (patch)
treed9eb9f6407b2376068d59af3b88ee5a7702f8921 /libre
parent76510a15ceea084ab0d7d5e948c512f03660c326 (diff)
texlive-latexextra-2015.37553-1.parabola1: updating version
Diffstat (limited to 'libre')
-rw-r--r--libre/texlive-latexextra/PKGBUILD65
1 files changed, 40 insertions, 25 deletions
diff --git a/libre/texlive-latexextra/PKGBUILD b/libre/texlive-latexextra/PKGBUILD
index a422af669..94d84d582 100644
--- a/libre/texlive-latexextra/PKGBUILD
+++ b/libre/texlive-latexextra/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 235512 2015-04-06 00:32:07Z remy $
+# $Id: PKGBUILD 245142 2015-09-01 10:30:55Z remy $
# Maintainer (Arch): Firmicus <firmicus āt gmx dōt net>
# Maintainer (Arch): Rémy Oudompheng <remy@archlinux.org>
# Maintainer: Michał Masłowski <mtjm@mtjm.eu>
@@ -6,8 +6,8 @@
_pkgname=texlive-latexextra-libre
pkgname=texlive-latexextra
-pkgver=2014.36706
-_revnr=${pkgver#2014.}
+pkgver=2015.37553
+_revnr=${pkgver#2015.}
pkgrel=1.parabola1
pkgdesc="TeX Live - Large collection of add-on packages for LaTeX, without nonfree add-on packages"
license=('GPL')
@@ -20,17 +20,17 @@ optdepends=(
'texlive-pictures: to use the package overpic'
'java-environment: to use pdfannotextractor'
)
+groups=('texlive-most')
replaces=('texlive-latexextra-libre')
conflicts=('texlive-latexextra-libre')
-groups=('texlive-most')
url='http://tug.org/texlive/'
mksource=("https://sources.archlinux.org/other/texlive/$pkgname-$pkgver-src.zip")
noextract=("$pkgname-$pkgver-src.zip")
source=("https://repo.parabola.nu/other/$_pkgname/$_pkgname-$pkgver-src.tar.xz" "$pkgname.maps")
options=('!emptydirs')
install=texlive.install
-mkmd5sums=('b4c3e4311a0989df0dbdc2fcb21409f3')
-md5sums=('da0fd686bd87585e88aaf6f4b1b8c5a2'
+mkmd5sums=('456518aa966d23306dfbf23d33fa940a')
+md5sums=('5f9d0c31c27feb154733c0b9b0bc6353'
'017fc9ed83747aa8884ca9ae0767531f')
mksource() {
@@ -39,20 +39,25 @@ mksource() {
bsdtar xfv ../$pkgname-$pkgver-src.zip
# remove nonfree packages
- # No specific free license.
+ # no specific free license
rm -v {authoraftertitle,clock,fnpara}.tar.xz
- # Remove them from package list.
- sed -ri '/^(authoraftertitle|fnpara) /d' CONTENTS
popd
}
-build() {
+
+prepare() {
cd $srcdir/$pkgname-$pkgver
+ echo -n " --> extracting all packages... "
for p in *.tar.xz; do
- bsdtar -xf $p
+ bsdtar -xf $p
done
+ echo "done"
rm -rf {tlpkg,doc,source} || true
+
+ # remove nonfree packages references from package list
+ sed -ri '/^(authoraftertitle|fnpara) /d' CONTENTS
}
+
package() {
cd $srcdir/$pkgname-$pkgver
install -m755 -d "$pkgdir"/var/lib/texmf/arch/installedpkgs
@@ -72,18 +77,28 @@ package() {
if [[ -d "$pkgdir"/usr/share/texmf-dist/scripts ]]; then
find "$pkgdir"/usr/share/texmf-dist/scripts -type f -exec chmod a+x '{}' \;
fi
- #add symlinks that were in texlive-bin:
- install -m755 -d "$pkgdir"/usr/bin
- ln -s /usr/share/texmf-dist/scripts/authorindex/authorindex "$pkgdir"/usr/bin/authorindex
- ln -s /usr/share/texmf-dist/scripts/exceltex/exceltex "$pkgdir"/usr/bin/exceltex
- ln -s /usr/share/texmf-dist/scripts/glossaries/makeglossaries "$pkgdir"/usr/bin/makeglossaries
- ln -s /usr/share/texmf-dist/scripts/pax/pdfannotextractor.pl "$pkgdir"/usr/bin/pdfannotextractor
- ln -s /usr/share/texmf-dist/scripts/perltex/perltex.pl "$pkgdir"/usr/bin/perltex
- ln -s /usr/share/texmf-dist/scripts/pst-pdf/ps4pdf "$pkgdir"/usr/bin/ps4pdf
- ln -s /usr/share/texmf-dist/scripts/splitindex/splitindex.pl "$pkgdir"/usr/bin/splitindex
- ln -s /usr/share/texmf-dist/scripts/svn-multi/svn-multi.pl "$pkgdir"/usr/bin/svn-multi
- ln -s /usr/share/texmf-dist/scripts/vpe/vpe.pl "$pkgdir"/usr/bin/vpe
- rm "$pkgdir"/usr/share/texmf-dist/scripts/glossaries/makeglossaries.bat
- rm "$pkgdir"/usr/share/texmf-dist/scripts/pst-pdf/ps4pdf.bat*
- rm "$pkgdir"/usr/share/texmf-dist/scripts/shipunov/biokey2html.bat
+
+ #add symlinks that were in texlive-bin:
+ _linked_scripts="
+authorindex/authorindex
+exceltex/exceltex
+glossaries/makeglossaries
+pax/pdfannotextractor.pl
+perltex/perltex.pl
+pst-pdf/ps4pdf
+splitindex/splitindex.pl
+svn-multi/svn-multi.pl
+vpe/vpe.pl
+yplan/yplan
+"
+ install -m755 -d "$pkgdir"/usr/bin
+ for _script in ${_linked_scripts}; do
+ _scriptbase=$(basename $_script)
+ _scriptbase=${_scriptbase%.*}
+ ln -s /usr/share/texmf-dist/scripts/${_script} ${pkgdir}/usr/bin/${_scriptbase}
+ done
+
+ rm "$pkgdir"/usr/share/texmf-dist/scripts/glossaries/makeglossaries.bat
+ rm "$pkgdir"/usr/share/texmf-dist/scripts/pst-pdf/ps4pdf.bat*
+ rm "$pkgdir"/usr/share/texmf-dist/scripts/shipunov/biokey2html.bat
}