summaryrefslogtreecommitdiff
path: root/manualPorts/dblatex/Pkgfile
blob: 52ca8838e05f726d7f0f98a44f7c12edcc2bfa95 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Description: Converts DocBook to LaTeX, DVI, PostScript, and PDF
# URL:         http://dblatex.sourceforge.net
# Maintainer:  Erich Eckner, crux at eckner dot net
# Contributor: John Vogel, jvogel4 at stny dot rr dot com
# Depends on:  python texlive

name=dblatex
version=0.3.11
release=1
source=(http://downloads.sourceforge.net/sourceforge/$name/$name-$version.tar.bz2)

build() {
	cd $name-$version

	python ./setup.py build
	python ./setup.py install \
		--prefix=/usr \
		--root=$PKG

	rm -f $PKG/usr/share/$name/xsl/mathml2/README
	rm -rf $PKG/usr/share/doc
}