Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Rémy Oudompheng
texlive-localmanager
Commits
d045ed3d
Commit
d045ed3d
authored
Jan 26, 2010
by
Francois Charette
Browse files
Change version to 0.3.3
+ some tidying
parent
b4a9d172
Changes
2
Hide whitespace changes
Inline
Side-by-side
PKGBUILD
View file @
d045ed3d
# Maintainer: françois <firmicus ατ gmx δοτ net>
pkgname
=
texlive-localmanager
pkgver
=
0.3.
2
pkgver
=
0.3.
3
pkgrel
=
1
pkgdesc
=
"A shell and command-line utility to manage TeXLive on Arch Linux"
arch
=(
'any'
)
...
...
@@ -9,7 +9,6 @@ url="http://wiki.archlinux.org/index.php?title=TeXLive#TeXLive_Local_Manager"
license
=(
'GPL'
)
depends
=(
'texlive-core>=2009'
'perl-libwww'
'perl-term-shellui'
'xz-utils'
'perl-list-moreutils'
)
source
=(
"http://dev.archlinux.org/~francois/
$pkgname
-
$pkgver
.tar.gz"
)
md5sums
=(
'f20e74366cd01cf4d33bee073fa00ec8'
)
build
()
{
cd
$srcdir
/
$pkgname
...
...
tllocalmgr
View file @
d045ed3d
...
...
@@ -4,7 +4,7 @@ use warnings;
use
strict
;
use
lib
('
tlpkg
',
'
/usr/share/texmf-var/arch/tlpkg
');
use
TeXLive::
Arch
;
our
$VERSION
=
"
0.3.
2
";
our
$VERSION
=
"
0.3.
3
";
our
$YEAR
=
"
2009
";
use
Getopt::
Long
;
...
...
@@ -22,7 +22,6 @@ GetOptions( $opts,
use
File::
Path
;
use
LWP::
Simple
;
#use YAML::Syck; ##for debugging
use
Term::
ANSIColor
qw(:constants)
;
$
Term::ANSIColor::
AUTORESET
=
1
;
use
Term::
ShellUI
;
...
...
@@ -35,8 +34,8 @@ die version(), "\n" if $opts->{'version'};
my
$term
=
new
Term::
ShellUI
(
commands
=>
get_commands
());
$term
->
prompt
(
"
tllocalmgr>
"
);
#
my $CTANBASEURL="http://mirror.ctan.org/systems/texlive/tlnet/$YEAR";
my
$CTANBASEURL
=
"
ftp://tug.org/texlive/tlnet
";
# <<<< TEMPORARY
my
$CTANBASEURL
=
"
http://mirror.ctan.org/systems/texlive/tlnet/
$YEAR
";
#
my $CTANBASEURL="ftp://tug.org/texlive/tlnet"; # <<<< TEMPORARY
my
$ROOT
=
"
$ENV
{HOME}/.texlive/texmf-var/arch
";
my
$LOCALDB
=
"
$ROOT
/tlpkg/texlive.tlpdb
";
...
...
@@ -44,11 +43,11 @@ my $LOCALDBXZ = "$LOCALDB.xz";
my
$INSTALLEDPKGS
=
"
/usr/share/texmf-var/arch/installedpkgs
";
my
$logfile
=
"
$ROOT
/tllocalmgr.log
";
my
$skipupdate
=
$opts
->
{'
skipupdate
'}
||
0
;
my
$forceupdate
=
$opts
->
{'
forceupdate
'}
||
0
;
my
$location
=
$opts
->
{'
location
'}
||
$ROOT
;
my
$mirror
=
$opts
->
{'
mirror
'}
||
$CTANBASEURL
;
my
$localsearch
=
$opts
->
{'
localsearch
'}
||
0
;
my
$skipupdate
=
$opts
->
{'
skipupdate
'}
||
0
;
my
$forceupdate
=
$opts
->
{'
forceupdate
'}
||
0
;
my
$location
=
$opts
->
{'
location
'}
||
$ROOT
;
my
$mirror
=
$opts
->
{'
mirror
'}
||
$CTANBASEURL
;
my
$localsearch
=
$opts
->
{'
localsearch
'}
||
0
;
my
$TLARCHIVE
=
"
$mirror
/archive
";
my
$TLPDB
=
"
$mirror
/tlpkg/texlive.tlpdb.xz
";
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment