summaryrefslogtreecommitdiff
path: root/pcr/biblatex/PKGBUILD
blob: 28551751e1181f3346399d507a83c35d2a1c052f (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.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/
}