diff options
author | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2015-05-01 10:58:00 -0300 |
---|---|---|
committer | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2015-05-01 10:58:00 -0300 |
commit | 0be718a01cdbb832c3d63d0a3b06a500394018bd (patch) | |
tree | e7028235cf58ace298be3076541f40ac44cad577 /pcr/biblatex-biber/PKGBUILD | |
parent | 9bec072b01c430693e67c5e86bcda671f0bb6720 (diff) |
add biblatex-biber to [pcr]
Diffstat (limited to 'pcr/biblatex-biber/PKGBUILD')
-rw-r--r-- | pcr/biblatex-biber/PKGBUILD | 93 |
1 files changed, 93 insertions, 0 deletions
diff --git a/pcr/biblatex-biber/PKGBUILD b/pcr/biblatex-biber/PKGBUILD new file mode 100644 index 000000000..ad044a1af --- /dev/null +++ b/pcr/biblatex-biber/PKGBUILD @@ -0,0 +1,93 @@ +# Maintainer (Arch): Andreas dot Wagner at em dot uni-frankfurt dot de +# Contributor : Márcio Silva <coadde@parabola.nu> + +pkgname=biblatex-biber +pkgver=2.0 +pkgrel=1 +pkgdesc="A BibTeX replacement for users of biblatex" +url="http://biblatex-biber.sourceforge.net" +arch=('any') +license=('GPL1') +depends=( + 'perl-autovivification' + 'perl-business-isbn' + 'perl-business-ismn' + 'perl-business-issn' +# 'perl-data-compare' + 'perl-data-dump' + 'perl-date-simple' + 'perl-encode-eucjpascii' + 'perl-encode-hanextra' + 'perl-encode-jis2k' + 'perl-file-slurp' + 'perl-ipc-run3' + 'perl-libwww' + 'perl-list-allutils' + 'perl-list-moreutils' + 'perl-log-log4perl' + 'perl-lwp-protocol-https' + 'perl-mozilla-ca>=20141217' + 'perl-regexp-common' + 'perl-text-bibtex>=0.70' +## 'perl-text-roman' +# 'perl-unicode-collate>=1.14' +# 'perl-unicode-nomalize<=1.17' + 'perl-unicode-gcstring' + 'perl-uri' + 'perl-xml-libxml-simple' + 'perl-xml-libxslt' + 'perl-xml-writer' +) + +# 'perl-config-general' +# 'perl-data-diver' +# 'perl-file-slurp-unicode' +# 'perl-readonly' +# 'perl-xml-writer-string' +# 'texlive-bibtexextra' + +makedepends=( + 'perl-module-build>=0.38' # Module::Build will be removed from the Perl core distribution in the next major release + 'perl-config-autoconf>=0.15' + 'perl-extutils-libbuilder>=0.02' +) + +checkdepends=( + 'perl-file-which' +## 'perl-test-differences' + 'perl-test-pod' + 'perl-test-pod-coverage' +) + +#optdepends=('perl-sleepycat-dbxml: support for Berkeley DBXML databases' +# 'perl-readonly-xs: recommended for speeding up perl-readonly stuff') + +conflicts=('biblatex-biber-git') +install=$pkgname.install +source=(http://downloads.sf.net/project/$pkgname/$pkgname/$pkgver/$pkgname.tar.gz) + +build() { + cd "${pkgname}-${pkgver}" + perl Build.PL installdirs=site destdir="$pkgdir/" + perl Build +} + +check() { + cd "${pkgname}-${pkgver}" +# perl Build test +} + +package() { + cd "${pkgname}-${pkgver}" + perl Build install + + mkdir -p "$pkgdir/usr/local/bin" + mv "$pkgdir/usr/bin/site_perl/biber" "$pkgdir/usr/local/bin/biber" + rm -rf "$pkgdir/usr/bin" + + # remove perllocal.pod and .packlist + find "$pkgdir" -name perllocal.pod -delete + find "$pkgdir" -name .packlist -delete +} + +md5sums=('6c0c27e67555f50b83efabae99fcd514') |