summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 663a51855faffb195b1dec6944b9b39ad09f058e (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
pkgname=texlive-culmus
pkgver=0.7.1
pkgrel=2
pkgdesc="Hebrew fonts from the Culmus project for LaTeX"
arch=('any')
license=('GPL2' 'custom:culmus')
url="http://www.guyrutenberg.com/culmus-latex/"
depends=(texlive-core)
install=$pkgname.install
conflicts=(culmus-latex)
source=("http://downloads.sourceforge.net/project/ivritex/culmus-latex/culmus-latex-0.7/culmus-latex-0.7-r1.tar.gz")
md5sums=('0c6f6d5b9e7a0d6ba59fc55680ed48a5')

package() {
	cd $srcdir/culmus-latex-0.7-r1
	TEXDIST=usr/share/texmf-dist
	for dir in \
			tex/generic/0babel/ \
			tex/latex/culmus/ \
			fonts/enc/dvips/culmus/ \
			fonts/map/dvips/ \
			fonts/tfm/public/culmus/ \
			fonts/afm/public/culmus/ \
			fonts/vf/public/culmus/ \
			fonts/type1/public/culmus/; do
		install -d $pkgdir/$TEXDIST/$dir
		install -m644 usr/share/texmf/$dir/* $pkgdir/$TEXDIST/$dir
	done;
	install -D -m 644 LICENSE-Culmus "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE-Culmus"
}