summaryrefslogtreecommitdiff
path: root/pcr/biblatex/PKGBUILD
blob: 07d5ef8647a4c3b3c5e1ef56399c4b3fccb18b8f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Maintainer: asm <asm@member.fsf.org>

pkgname=biblatex
pkgver=3.2
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=('596c4311688c89b644798a39942bdd80')
sha256sums=('7137dd7b2c5dcd191d681acdd8d5f289a8747315c5d44d8679342e430337047f')
sha512sums=('acaadcda15bcd7b400eca7f296bf229284f59614eef5c1bbfd4b970b9b2c462e56421d04738f3c3cc70f6df0e253842b5d23f0785e037922531da933b8d6e4d4')

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/
}