1 # Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
2 pkgname=biblatex-biber-git
5 pkgdesc="A BibTeX replacement for users of biblatex"
6 url="http://biblatex-biber.sourceforge.net"
8 license=('PerlArtistic')
9 depends=('perl-xml-libxml-simple' 'perl-readonly-xs' 'texlive-bibtexextra' \
10 'perl-file-slurp-unicode' 'perl-xml-writer' 'perl-text-bibtex' \
11 'perl-list-allutils' 'perl-data-dump' 'perl-log-log4perl' \
12 'perl-regexp-common' 'perl-latex-decode>=0.03' 'perl-ipc-run' \
13 'perl-unicode-collate>=0.67' 'perl-config-general')
14 optdepends=('perl-sleepycat-dbxml')
15 provides=('biblatex-biber')
16 conflicts=('biblatex-biber')
20 _gitroot="git://${pkgname}.git.sourceforge.net/gitroot/${pkgname%-git}/${pkgname%-git}"
21 _gitname="${pkgname%-git}"
25 msg "Connecting to GIT server...."
27 if [ -d $_gitname ] ; then
28 cd $_gitname && git pull origin
29 msg "The local files are updated."
34 msg "GIT checkout done or server timeout"
35 msg "Starting make..."
37 rm -rf "$srcdir/$_gitname-build"
38 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
39 cd "$srcdir/$_gitname-build"
45 perl Build.PL installdirs=vendor destdir="$pkgdir/"