summaryrefslogtreecommitdiff
path: root/wurzel-style/PKGBUILD
blob: 03595f977d7c1b88362fffd26c2db8c899bad8f7 (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
# Maintainer: Erich Eckner <arch at eckner dot net>
# Packager: Markus Oehme, <mo at wurzel dot org>
pkgname=wurzel-style
pkgver=2008.4
pkgrel=1
pkgdesc="Wurzel Klasse fuer LaTeX"
arch=('any')
url="http://www.wurzel.org"
license=('GPL')
groups=('wurzel')
depends=('bash')
makedepends=()
checkdepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install='wurzel-style'
source=(
    "http://www.wurzel.org/distfiles/${pkgname}-${pkgver}.tar.bz2"
)
sha512sums=('ae198295ed76ef97d3f6a2355482c2e968b967ce25e552a22adbc5fc3e7d21c3004c8223b459dcbd8098956d9b35dd7c057d8a8a7a6962c4d99117ca05c72718')

package() {

    TEXMFLOCAL="/usr/share/texmf"
    cd "${pkgname}-${pkgver}"
    mkdir -p "${pkgdir}/${TEXMFLOCAL}"
    cp -R "tex-files/doc" "${pkgdir}/${TEXMFLOCAL}"
    cp -R "tex-files/tex" "${pkgdir}/${TEXMFLOCAL}"
    cp -R "tex-files/metapost" "${pkgdir}/${TEXMFLOCAL}"
    install -D -m755 -t "${pkgdir}/usr/bin" "bin/wzlclean" "bin/wzldoublepdf" "bin/wzlfinalpdf" "bin/wzlimagetopdf"
    install -D -m644 -t "${pkgdir}/usr/share/doc/wurzel/style/" "doc/README" "doc/changelog"

}