diff --git a/packages/texlive-bin/build.sh b/packages/texlive-bin/build.sh index 8fccd656e..6a089be00 100644 --- a/packages/texlive-bin/build.sh +++ b/packages/texlive-bin/build.sh @@ -2,10 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://www.tug.org/texlive/ TERMUX_PKG_DESCRIPTION="TeX Live is a distribution of the TeX typesetting system. This package contains architecture dependent binaries." TERMUX_PKG_LICENSE="GPL-2.0" TERMUX_PKG_MAINTAINER="Henrik Grimler @Grimler91" -TERMUX_PKG_VERSION=20190101 -# FIXME: update version format and SRCURL when texlive 2019 is released -TERMUX_PKG_SRCURL=https://github.com/TeX-Live/texlive-source/archive/pretest-build-svn50430.tar.gz -TERMUX_PKG_SHA256=7a97ff3cb99fb56edd39b2fa5091b6950e09e69398a9aef596e759a3149cb93f +TERMUX_PKG_VERSION=20190410 +TERMUX_PKG_SRCURL=https://github.com/TeX-Live/texlive-source/archive/build-svn50882.tar.gz +TERMUX_PKG_SHA256=a7462f8e29163faa52ad2ac658727b60f95241449832f1a4dac8d8a406d18233 TERMUX_PKG_DEPENDS="freetype, libpng, libgd, libgmp, libmpfr, libicu, liblua, poppler, libgraphite, harfbuzz, harfbuzz-icu, teckit, libpixman, libcairo, zlib" # libpcre, glib, fonconfig are dependencies to libcairo. pkg-config gives an error if they are missing # libuuid, libxml2 are needed by fontconfig diff --git a/packages/texlive-tlmgr/build.sh b/packages/texlive-tlmgr/build.sh index 02603a3a7..6da806b53 100644 --- a/packages/texlive-tlmgr/build.sh +++ b/packages/texlive-tlmgr/build.sh @@ -2,10 +2,10 @@ TERMUX_PKG_HOMEPAGE=https://www.tug.org/texlive/tlmgr.html TERMUX_PKG_DESCRIPTION="TeX Lives package manager" TERMUX_PKG_LICENSE="GPL-2.0" TERMUX_PKG_MAINTAINER="Henrik Grimler @Grimler91" -TERMUX_PKG_VERSION=20190101 -TERMUX_PKG_SRCURL=ftp://ftp.cstug.cz/pub/tex/local/tlpretest/install-tl-unx.tar.gz -TERMUX_PKG_SHA256=8587f75b4c401a5ce5ce6f279a5c05662800328e24173fd8b2bb44a622f650bd -TERMUX_PKG_DEPENDS="perl, wget, gnupg (>= 2.2.9-1), xz-utils, texlive (>= 20190101)" +TERMUX_PKG_VERSION=20190410 +TERMUX_PKG_SRCURL=ftp://ftp.tug.org/texlive/historic/${TERMUX_PKG_VERSION:0:4}/install-tl-unx.tar.gz +TERMUX_PKG_SHA256=44aa41b5783e345b7021387f19ac9637ff1ce5406a59754230c666642dfe7750 +TERMUX_PKG_DEPENDS="perl, wget, gnupg (>= 2.2.9-1), xz-utils, texlive (>= 20190410)" TERMUX_PKG_CONFFILES="share/texlive/tlpkg/texlive.tlpdb" TERMUX_PKG_CONFLICTS="texlive (<< 20180414-1)" TERMUX_PKG_PLATFORM_INDEPENDENT=yes diff --git a/packages/texlive/build.sh b/packages/texlive/build.sh index b297faa34..ad1fa71d8 100644 --- a/packages/texlive/build.sh +++ b/packages/texlive/build.sh @@ -2,13 +2,12 @@ TERMUX_PKG_HOMEPAGE=https://www.tug.org/texlive/ TERMUX_PKG_DESCRIPTION="TeX Live is a distribution of the TeX typesetting system." TERMUX_PKG_LICENSE="GPL-2.0" TERMUX_PKG_MAINTAINER="Henrik Grimler @Grimler91" -_MAJOR_VERSION=20190101 -TERMUX_PKG_VERSION=${_MAJOR_VERSION} -TERMUX_PKG_SRCURL=ftp://ftp.tug.org/texlive/historic/${TERMUX_PKG_VERSION:0:4}/texlive-$_MAJOR_VERSION-texmf.tar.xz -TERMUX_PKG_SHA256=bae2fa05ea1858b489f8138bea855c6d65829cf595c1fb219c5d65f4fe8b1fad -TERMUX_PKG_DEPENDS="perl, texlive-bin (>= 20190101)" -TERMUX_PKG_CONFLICTS="texlive (<< 20170524-5), texlive-bin (<< 20190101), texlive-tlmgr (<< 20190101)" -TERMUX_PKG_REPLACES="texlive-bin (<< 20190101), texlive-tlmgr (<< 20190101)" +TERMUX_PKG_VERSION=20190410 +TERMUX_PKG_SRCURL=ftp://ftp.tug.org/texlive/historic/${TERMUX_PKG_VERSION:0:4}/texlive-${TERMUX_PKG_VERSION}-texmf.tar.xz +TERMUX_PKG_SHA256=c2ec974abc98b91995969e7871a0b56dbc80dd8508113ffcff6923e912c4c402 +TERMUX_PKG_DEPENDS="perl, texlive-bin (>= 20190410)" +TERMUX_PKG_CONFLICTS="texlive (<< 20170524-5), texlive-bin (<< 20190410), texlive-tlmgr (<< 20190410)" +TERMUX_PKG_REPLACES="texlive-bin (<< 20190101), texlive-tlmgr (<< 20190410)" TERMUX_PKG_RECOMMENDS="texlive-tlmgr" TERMUX_PKG_PLATFORM_INDEPENDENT=yes TERMUX_PKG_HAS_DEBUG=no @@ -21,7 +20,7 @@ termux_step_post_extract_package() { cd $TERMUX_PKG_CACHEDIR termux_download ftp://ftp.tug.org/texlive/historic/${TERMUX_PKG_VERSION:0:4}/install-tl-unx.tar.gz \ install-tl-unx.tar.gz \ - 8587f75b4c401a5ce5ce6f279a5c05662800328e24173fd8b2bb44a622f650bd + 44aa41b5783e345b7021387f19ac9637ff1ce5406a59754230c666642dfe7750 tar -xf install-tl-unx.tar.gz mv install-tl-*/install-tl \ install-tl-*/LICENSE.CTAN \ @@ -34,11 +33,11 @@ termux_step_post_extract_package() { termux_step_post_extract_package() { cd $TERMUX_PKG_CACHEDIR # Download texlive.tlpdb, parse to get file lists and include in texlive-full. - termux_download ftp://ftp.tug.org/texlive/historic/${TERMUX_PKG_VERSION:0:4}/texlive-$_MAJOR_VERSION-tlpdb-full.tar.gz \ - texlive-$_MAJOR_VERSION-tlpdb-full.tar.gz \ - 7791a7c4afd5fddda785eb989f55f6e8d5ffaea68b08b15838d756626b38cbe1 + termux_download ftp://ftp.tug.org/texlive/historic/${TERMUX_PKG_VERSION:0:4}/texlive-${TERMUX_PKG_VERSION}-tlpdb-full.tar.gz \ + texlive-${TERMUX_PKG_VERSION}-tlpdb-full.tar.gz \ + 4c93a5c7d28df63c6dd7f767822e5dacf9290a0dff4990663e283b6e2d8d1918 - tar xf texlive-$_MAJOR_VERSION-tlpdb-full.tar.gz + tar xf texlive-${TERMUX_PKG_VERSION}-tlpdb-full.tar.gz mv texlive.tlpdb $TERMUX_PKG_TMPDIR }