diff options
author | Sukanka | 2022-02-27 21:58:49 +0800 |
---|---|---|
committer | Sukanka | 2022-02-27 21:58:49 +0800 |
commit | 0898118c1f55dffa6c7fda69fe46bd40a96ca932 (patch) | |
tree | ed1c56d3df08604fee49626c0c859567e32ed2e0 | |
parent | 9bb2718b3564cd307e00555be906ff7e25b921c4 (diff) | |
download | aur-0898118c1f55dffa6c7fda69fe46bd40a96ca932.tar.gz |
fix license
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 11 |
2 files changed, 11 insertions, 4 deletions
@@ -4,7 +4,7 @@ pkgbase = texlive-full pkgrel = 1 url = http://www.tug.org/texlive/ arch = x86_64 - license = GPL + license = custom makedepends = rsync depends = libxcrypt-compat provides = texlive-bin @@ -49,6 +49,8 @@ pkgbase = texlive-full conflicts = texlive-langkorean options = !strip source = https://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz + source = LICENSE::http://texlive.tug.org/texlive/LICENSE.TL sha256sums = SKIP + sha256sums = e8f070b2d1a9bad00af9d6cb94e687f2120591d092c8dab8727249b70adc96d0 pkgname = texlive-full @@ -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. |