summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorSukanka2022-02-27 21:58:49 +0800
committerSukanka2022-02-27 21:58:49 +0800
commit0898118c1f55dffa6c7fda69fe46bd40a96ca932 (patch)
treeed1c56d3df08604fee49626c0c859567e32ed2e0 /PKGBUILD
parent9bb2718b3564cd307e00555be906ff7e25b921c4 (diff)
downloadaur-0898118c1f55dffa6c7fda69fe46bd40a96ca932.tar.gz
fix license
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD11
1 files changed, 8 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 631f8a38e1ee..e171a5c01a35 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,13 +7,17 @@ pkgrel=1
pkgdesc="This packages provides texlive-full in /opt. It also tricks ArchLinux into thinking it has its texlive packages installed."
url="http://www.tug.org/texlive/"
arch=("x86_64")
-license=("GPL")
+license=("custom")
makedepends=('rsync')
depends=('libxcrypt-compat')
provides=('texlive-bin' 'git-latexdiff' 'texlive-bibtexextra' 'texlive-core' 'texlive-fontsextra' 'texlive-formatsextra' 'texlive-games' 'texlive-humanities' 'texlive-latexextra' 'texlive-music' 'texlive-pictures' 'texlive-pstricks' 'texlive-publishers' 'texlive-science' 'texlive-langchinese' 'texlive-langcyrillic' 'texlive-langextra' 'texlive-langgreek' 'texlive-langjapanese' 'texlive-langkorean')
conflicts=('texlive-bin' 'git-latexdiff' 'texlive-bibtexextra' 'texlive-core' 'texlive-fontsextra' 'texlive-formatsextra' 'texlive-games' 'texlive-humanities' 'texlive-latexextra' 'texlive-music' 'texlive-pictures' 'texlive-pstricks' 'texlive-publishers' 'texlive-science' 'texlive-langchinese' 'texlive-langcyrillic' 'texlive-langextra' 'texlive-langgreek' 'texlive-langjapanese' 'texlive-langkorean')
-source=("https://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz")
-sha256sums=('SKIP')
+source=("https://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz"
+"LICENSE::http://texlive.tug.org/texlive/LICENSE.TL"
+)
+sha256sums=('SKIP'
+'e8f070b2d1a9bad00af9d6cb94e687f2120591d092c8dab8727249b70adc96d0'
+)
#PKGEXT='.pkg.tar'
options=(!strip)
@@ -50,6 +54,7 @@ prepare(){
}
package() {
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
_tldate=$(ls | grep -E '[0-9]+' -o | sort -r | head -1)
_year=$(cat ${srcdir}/install-tl-${_tldate}/release-texlive.txt| grep -E '[0-9]+' -o)
# find installer path automatically.