texlive2016-bin: fix license, template layout

This commit is contained in:
Colin Booth 2021-05-28 15:34:56 -07:00 committed by Đoàn Trần Công Danh
parent e11e5e0ef1
commit 526006c6f8

View file

@ -1,19 +1,19 @@
# Template file for 'texlive-bin'
# Template file for 'texlive2016-bin'
pkgname=texlive2016-bin
version=2016
revision=3
revision=4
archs="x86_64* i686 aarch64 arm*"
maintainer="Leah Neukirchen <leah@vuxu.org>"
homepage="http://tug.org/texlive/"
license="GPL-2"
short_desc="TeX Live Binary distribution through tl-install"
create_wrksrc=yes
depends="cairo pixman graphite gd poppler libsigsegv
zziplib libpng libjpeg-turbo freetype icu harfbuzz wget perl
ghostscript xz"
provides="tex-${version}_1"
short_desc="TeX Live Binary distribution through tl-install"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="GPL-2.0-or-later, LPPL-1.3c"
homepage="http://tug.org/texlive/"
distfiles="ftp://ftp.tug.org/texlive/historic/${version}/install-tl-unx.tar.gz>${pkgname}-${version}-${revision}.tar.gz"
checksum=a0559306f4ef1903b92c829a11177dcbf3b85ddb9c6b512a80791e2c543f7d95
create_wrksrc=yes
provides="tex-${version}_1"
# Package build options
build_options="basic small medium full"
@ -23,12 +23,12 @@ desc_option_small="Install TeXLive using scheme-small"
desc_option_medium="Install TeXLive using scheme-medium"
desc_option_full="Install TeXLive using scheme-full"
pre_install(){
pre_install() {
rm -rf ${wrksrc}/install-tl*/tlpkg/installer/xz \
${wrksrc}/install-tl*/tlpkg/installer/wget
}
do_install(){
do_install() {
vmkdir opt/texlive${version}-installer
vcopy "install-tl-*/*" /opt/texlive${version}-installer
vinstall ${FILESDIR}/void.profile 644 opt/texlive${version}-installer