1 # Maintainer: David Gippner davidgippner at googlemail dot com
5 pkgdesc="A tool for typesetting gregorian chant melodies using TeX (svn version)"
6 url="http://home.gna.org/gregorio"
8 install="$pkgname.install"
10 depends=('texlive-fontsextra' 'texlive-bin' 'texlive-formatsextra')
11 makedepends=('subversion' 'libxml2' 'docbook2x' 'libxslt' 'glib2' 'docbook-xsl')
12 provides=('gregorio-svn')
13 conflicts=('gregorio')
16 _svntrunk=svn://svn.gna.org/svn/gregorio/trunk
20 svn co $_svntrunk --config-dir ./
22 msg "SVN checkout done or server timeout"
23 msg "Starting make..."
27 msg "Autoreconf'ing sources..."
30 ./configure --prefix=/usr --enable-glib-utf8 || return 1
33 msg "Installing binaries, headers and libraries..."
34 make DESTDIR="$pkgdir/" install
35 msg "Preparing installation of fonts and GregorioTeX files..."
36 mkdir -p $pkgdir/tmp/tex
37 cp $srcdir/trunk/tex/* $pkgdir/tmp/tex
38 mkdir -p $pkgdir/tmp/fonts-$pkgname
39 cp $srcdir/trunk/fonts/* $pkgdir/tmp/fonts-$pkgname