updated on Mon Jan 16 16:00:41 UTC 2012
[aur-mirror.git] / tex-cases / PKGBUILD
blob6afe5c448b4e2fb95520f4b64c6712ce5fb625fb
1 # Contributor: Nicolas Bigaouette <nbigaouette@gmail.com>
2 pkgname=tex-cases
3 pkgver=2.5
4 pkgrel=1
5 pkgdesc="Provides a LaTeX environment to produce multi-case equations with a separate equation number for each case."
6 url="http://www.ctan.org/"
7 depends=('tetex')
8 source=("http://tug.ctan.org/macros/latex/contrib/misc/cases.sty" "http://www.latex-project.org/lppl.txt")
9 install="tex-cases.install"
10 arch=('i686' 'x86_64')
11 license=('custom:"LaTeX Project Public License"')
12 md5sums=('8bcdd4087d7eaedbd85077d2c722955e'
13          '11ef55b5ce8caf92b257eeb312fd3f9d')
15 build() {
17         mkdir -p ${startdir}/pkg/usr/share/{licenses/$pkgname,texmf/tex/latex/cases}
18         cd ${startdir}/src
19         
20         install -m 644 cases.sty ${startdir}/pkg/usr/share/texmf/tex/latex/cases/cases.sty || return 1
21         install -m 644 lppl.txt ${startdir}/pkg/usr/share/licenses/$pkgname/lppl.txt || return 1