updated on Sat Jan 14 12:12:45 UTC 2012
[aur-mirror.git] / texlive-jsarticle / PKGBUILD
blob75e54de7982d88b7ee8e2f61308f688d858bd00e
2 # Maintainer: anergy <anergy.25110321@gmail.com>
3 pkgname=texlive-jsarticle
4 pkgver=100314
5 pkgrel=1
6 epoch=
7 pkgdesc="Document class file for Japanese tex (pLaTeX2e)."
8 arch=('any')
9 url="http://oku.edu.mie-u.ac.jp/~okumura/jsclasses/"
10 license=('BSD')
11 groups=()
12 depends=('texlive-bin' 'texlive-core')
13 makedepends=()
14 checkdepends=()
15 optdepends=()
16 provides=()
17 conflicts=()
18 replaces=()
19 backup=()
20 options=()
21 install=$pkgname.install
22 changelog=
23 source=("http://oku.edu.mie-u.ac.jp/~okumura/jsclasses/jsclasses-$pkgver.zip"
24         "http://oku.edu.mie-u.ac.jp/~okumura/texfaq/jis-tfm.zip"
25         "http://oku.edu.mie-u.ac.jp/~okumura/texfaq/jis-pl.zip"
26         "japanese-jis.map")
27 noextract=(jsclasses-$pkgver.zip)
29 build() {
30   cd $srcdir
31   makejvf jis.tfm     rml
32   makejvf jisn.tfm    rmln
33   makejvf jis-v.tfm   rmlv
34   makejvf jisn-v.tfm  rmlnv
35   makejvf jisg.tfm    gbm
36   makejvf jisgn.tfm   gbmn
37   makejvf jisg-v.tfm  gbmv
38   makejvf jisgn-v.tfm gbmnv
39   return 0
43 check() {
44   return 0
47 package() {
48   cd $srcdir
49   install -m 755 -d $pkgdir/usr/share/texmf-dist/fonts/tfm/jis
50   install -m 755 -d $pkgdir/usr/share/texmf-dist/fonts/source/jis
51   install -m 755 -d $pkgdir/usr/share/texmf-dist/fonts/vf/jis
52   install -m 755 -d $pkgdir/usr/share/texmf-dist/tex/platex/js
54   cp -fpd *.tfm $pkgdir/usr/share/texmf-dist/fonts/tfm/jis
55   cp -fpd *.pl $pkgdir/usr/share/texmf-dist/fonts/source/jis
56   cp -fpd *.vf $pkgdir/usr/share/texmf-dist/fonts/vf/jis
57   
58   install -m 644 -D japanese-jis.map $pkgdir/usr/share/texmf/dvips/config/japanese-jis.map
59   cd $pkgdir/usr/share/texmf-dist/tex/platex/js
60   bsdtar -xf $srcdir/jsclasses-$pkgver.zip
61   
64 md5sums=('d8a31910c27ffae3106b47e8e94c97bf'
65          'd56606723026b60393ea48a4dab65994'
66          'f39bc002da3e4dd5a17c6917f3f10b6c'
67          '5801aa78360fcba43da99b1147398652')
68 # vim:set ts=2 sw=2 et: