From 7cff0759b29fe43428bc21632da8e40dddacff92 Mon Sep 17 00:00:00 2001 From: bill-auger Date: Tue, 21 Jul 2020 06:35:10 -0400 Subject: [texlive-localmanager-git->texlive-localmanager]: upgrade to versioned relase v0.7 and rename --- pcr/texlive-localmanager-git/PKGBUILD | 41 ------------------------- pcr/texlive-localmanager-git/tllocalmgr.install | 7 ----- pcr/texlive-localmanager/PKGBUILD | 38 +++++++++++++++++++++++ pcr/texlive-localmanager/tllocalmgr.install | 7 +++++ 4 files changed, 45 insertions(+), 48 deletions(-) delete mode 100644 pcr/texlive-localmanager-git/PKGBUILD delete mode 100644 pcr/texlive-localmanager-git/tllocalmgr.install create mode 100644 pcr/texlive-localmanager/PKGBUILD create mode 100644 pcr/texlive-localmanager/tllocalmgr.install (limited to 'pcr') diff --git a/pcr/texlive-localmanager-git/PKGBUILD b/pcr/texlive-localmanager-git/PKGBUILD deleted file mode 100644 index 55e1739d5..000000000 --- a/pcr/texlive-localmanager-git/PKGBUILD +++ /dev/null @@ -1,41 +0,0 @@ -# Maintainer (Arch): XZS -# Contributor (Arch): Stefan Husmann -# Contributor (Arch): Rémy Oudompheng -# Contributor (Arch): Firmicus - -pkgname=texlive-localmanager-git -pkgver=0.5.1.r0.g6befd1e -pkgrel=1 -pkgdesc="A shell and command-line utility to manage TeXLive on Parabola GNU/Linux-libre" -arch=('any') -url="https://git.archlinux.org/users/remy/texlive-localmanager.git/" -license=('GPL') -depends=('texlive-core>=2011' 'perl-libwww' 'perl-term-shellui' 'perl-term-readline-gnu' 'perl-list-moreutils') -install='tllocalmgr.install' - -_giturl="git://projects.archlinux.org/users/remy/${pkgname%-git}.git" -makedepends+=('git') -source+=("${_gitname:=${pkgname%-git}}::${_giturl:-git+$url}") -for integ in $(get_integlist) -do - typeset -n array="${integ}sums" - array+=('SKIP') -done -provides+=("$_gitname=$pkgver") -conflicts+=("$_gitname") -pkgver() { - cd ${_gitname:-$pkgname} - git describe --long --tags 2>/dev/null | sed 's/[^[:digit:]]*\(.\+\)-\([[:digit:]]\+\)-g\([[:xdigit:]]\{7\}\)/\1.r\2.g\3/;t;q1' - [ ${PIPESTATUS[0]} -ne 0 ] && \ -printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" -} - -package() { - cd "$_gitname" - install -d $pkgdir/usr/{bin,share/texmf/arch/tlpkg/TeXLive} - install -m755 tllocalmgr $pkgdir/usr/bin/ - cd tlpkg/TeXLive - for _f in *; do - install -m644 $_f $pkgdir/usr/share/texmf/arch/tlpkg/TeXLive/ - done -} diff --git a/pcr/texlive-localmanager-git/tllocalmgr.install b/pcr/texlive-localmanager-git/tllocalmgr.install deleted file mode 100644 index 9a05beb5a..000000000 --- a/pcr/texlive-localmanager-git/tllocalmgr.install +++ /dev/null @@ -1,7 +0,0 @@ -post_install() { - cat < +# Contributor (AUR): Stefan Husmann +# Contributor (AUR): Rémy Oudompheng +# Contributor (AUR): Firmicus +# Contrbutor: bill-auger + + +pkgname=texlive-localmanager +pkgver=0.7 +pkgrel=1 +pkgdesc="A shell and command-line utility to manage TeXLive" +arch=('any') +url="http://wiki.archlinux.org/index.php?title=TeXLive#TeXLive_Local_Manager" +license=('GPL') + +depends=('texlive-core>=2011' + 'perl-libwww' + 'perl-term-shellui' + 'perl-term-readline-gnu' + 'perl-list-moreutils' + 'perl-lwp-protocol-https') +install='tllocalmgr.install' +replaces=('texlive-localmanager-git') +source=(https://git.archlinux.org/users/remy/texlive-localmanager.git/snapshot/texlive-localmanager-${pkgver}.tar.gz) + +sha256sums=('55938e60d0a431f9fadc9a9c62e713a70c112ad9a679c7cb21e1bc1459cb8129') + + +package() { + cd "${srcdir}"/${pkgname}-${pkgver} + + install -d $pkgdir/usr/{bin,share/texmf/arch/tlpkg/TeXLive} + install -m755 tllocalmgr $pkgdir/usr/bin/ + cd tlpkg/TeXLive + for _f in *; do + install -m644 $_f $pkgdir/usr/share/texmf/arch/tlpkg/TeXLive/ + done +} diff --git a/pcr/texlive-localmanager/tllocalmgr.install b/pcr/texlive-localmanager/tllocalmgr.install new file mode 100644 index 000000000..9a05beb5a --- /dev/null +++ b/pcr/texlive-localmanager/tllocalmgr.install @@ -0,0 +1,7 @@ +post_install() { + cat <