summaryrefslogtreecommitdiff
path: root/pcr/texlive-localmanager
diff options
context:
space:
mode:
authorbill-auger <mr.j.spam.me@gmail.com>2020-07-21 06:35:10 -0400
committerbill-auger <mr.j.spam.me@gmail.com>2020-07-22 12:26:48 -0400
commit7cff0759b29fe43428bc21632da8e40dddacff92 (patch)
tree52273823073709495b8201f9ba7271e1857fb1c4 /pcr/texlive-localmanager
parent0bb58d7d6ffe30aaab376fede5d1140651d418e8 (diff)
downloadabslibre-7cff0759b29fe43428bc21632da8e40dddacff92.tar.gz
abslibre-7cff0759b29fe43428bc21632da8e40dddacff92.tar.bz2
abslibre-7cff0759b29fe43428bc21632da8e40dddacff92.zip
[texlive-localmanager-git->texlive-localmanager]: upgrade to versioned relase v0.7 and rename
Diffstat (limited to 'pcr/texlive-localmanager')
-rw-r--r--pcr/texlive-localmanager/PKGBUILD38
-rw-r--r--pcr/texlive-localmanager/tllocalmgr.install7
2 files changed, 45 insertions, 0 deletions
diff --git a/pcr/texlive-localmanager/PKGBUILD b/pcr/texlive-localmanager/PKGBUILD
new file mode 100644
index 000000000..508c46453
--- /dev/null
+++ b/pcr/texlive-localmanager/PKGBUILD
@@ -0,0 +1,38 @@
+# Maintainer (AUR): XZS <d dot f dot fischer at web dot de>
+# Contributor (AUR): Stefan Husmann <stefan-husmann@t-online.de>
+# Contributor (AUR): Rémy Oudompheng <remy@archlinux.org>
+# Contributor (AUR): Firmicus <francois . archlinux . org>
+# Contrbutor: bill-auger <bill-auger@programmer.net>
+
+
+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 <<WARNING
+Notice that tllocalmgr only manages packages from the texlive distribution.
+It also often leaves you with very cryptic error messages normally just
+indicating that it could not find the package you were asking it for.
+WARNING
+}