updated on Thu Jan 26 00:18:00 UTC 2012
[aur-mirror.git] / latex-template-acm-transactions / PKGBUILD
blob01a1efc0f0e2870b157db29f977c96a2e680462b
1 #Contributor: Artemis Voulkidis <avoulk at gmail com>
3 pkgname=latex-template-acm-transactions
4 pkgver=1
5 pkgrel=2
6 pkgdesc="The official LaTeX template for ACM transactions authors."
7 arch=('any')
8 url="http://www.acm.org/publications/latex_style/"
9 license=('LPPL')
10 groups=()
11 depends=('texlive-bin')
12 makedepends=('unzip')
13 optdepends=('xpdf: for viewing the manual')
14 backup=()
15 options=()
16 install=texlive.install
17 source=(http://www.acm.org/publications/latex_style/acm-small-v$pkgver-$pkgrel.zip)
18 md5sums=('895a466e8794f1d932039abb93a5fb99')
20 build() {
21   mkdir -p ${pkgdir}/usr/share/texmf/tex/latex/acm-small/
22   mkdir -p ${pkgdir}/usr/share/texmf-dist/bibtex/bst/acm-small/
23   cd ${pkgdir}/usr/share/texmf/tex/latex/acm-small/
24   unzip ${srcdir}/acm-small-v$pkgver-$pkgrel.zip
25   mv acmsmall.bst ${pkgdir}/usr/share/texmf-dist/bibtex/bst/acm-small/
26   cd ..
27   chown -R root:root *
28   chmod 644 acm-small/*
29   cd ${pkgdir}/usr/share/texmf-dist/bibtex/bst/
30   chown -R root:root acm-small/
31   chmod 644 acm-small/*
34 # vim:set ts=2 sw=2 et: