diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2015-05-10 18:01:36 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2015-05-10 22:10:14 -0300 |
commit | 310e060e24af6e1bacc11312c477ad67a13a0818 (patch) | |
tree | 202cff7e19cd5902a3afe6135bbd9cbf7861613c /pcr | |
parent | 3064fd6cc878c292bb55ec8af581bf6f1e7aeeaa (diff) |
biblatex: add new package to [pcr]
Diffstat (limited to 'pcr')
-rw-r--r-- | pcr/biblatex/PKGBUILD | 40 | ||||
-rw-r--r-- | pcr/biblatex/biblatex.install | 18 |
2 files changed, 58 insertions, 0 deletions
diff --git a/pcr/biblatex/PKGBUILD b/pcr/biblatex/PKGBUILD new file mode 100644 index 000000000..28551751e --- /dev/null +++ b/pcr/biblatex/PKGBUILD @@ -0,0 +1,40 @@ +# Maintainer: asm <asm@member.fsf.org> + +pkgname=biblatex +pkgver=3.0 +pkgrel=1 +pkgdesc="LaTeX package which provides full-featured bibliographic facilities" +arch=('any') +url="http://biblatex.sourceforge.net/" +license=('LPPL') +depends=( + 'logreq' + 'texlive-core' + 'biblatex-biber' + 'texlive-latexextra') +optdepends=('texlive-bin: provides bibitex and bibtex8, the legacy backends') +conflicts=('texlive-bibtexextra') +install=${pkgname}.install +source=("http://sourceforge.net/projects/$pkgname/files/$pkgname-$pkgver/$pkgname-$pkgver.tgz") +md5sums=('c484aaf451b28bbaf38d6629803db25c') +sha256sums=('f3cda38555a136404390ebad6fea46b53e5dd5d5a283b795e55c2bcd9ea344c0') +sha512sums=('acc032995581498fd8ddfb0dea003a8ef7925dfa5cbfdf290f75a90e1109461e749ae1916ff69521db1ed7bcb542cceb1dda8ec10ccd08a8dec17d89015e7053') + +package() { + texmflocal=/usr/share/texmf-dist/tex/ + + mkdir -p ${pkgdir}/${texmflocal} + mkdir -p ${pkgdir}/${texmflocal}/bibtex/bst/biblatex/ + mkdir -p ${pkgdir}/${texmflocal}/bibtex/csf/biblatex/ #optional for bibtex8 + + cp -r latex/* ${pkgdir}/${texmflocal} + cp -r bibtex/bst/* ${pkgdir}/${texmflocal}/bibtex/bst/biblatex/ + cp -r bibtex/csf/* ${pkgdir}/${texmflocal}/bibtex/csf/biblatex/ #optional for bibtex8 + + + # Install docs + mkdir -p ${pkgdir}/${texmflocal}/doc/latex/biblatex/ + + cp -r doc/* ${pkgdir}/${texmflocal}/doc/latex/biblatex/ +} + diff --git a/pcr/biblatex/biblatex.install b/pcr/biblatex/biblatex.install new file mode 100644 index 000000000..e4a2a69a1 --- /dev/null +++ b/pcr/biblatex/biblatex.install @@ -0,0 +1,18 @@ +post_install() { + echo ">>> texlive: updating the filename database..." + /usr/bin/mktexlsr + echo ">>> Remember that biblatex 3.0 should be used with" + echo ">>> * etoolbox >=2.1" + echo ">>> * logreq >=1.0" + echo ">>> * bibtex, bibtex8 or biber" + echo ">>> Biber is strongly recommended. BibTeX and bibTeX8 are legacies." +} + +post_upgrade() { + post_install +} + +post_remove() { + echo ">>> texlive: updating the filename database..." + /usr/bin/mktexlsr +} |