updated on Mon Jan 16 00:01:41 UTC 2012
[aur-mirror.git] / gummi-svn / PKGBUILD
blob4f00d7d0ac447867a703816038e4d9ec1e31af88
1 # Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
2 pkgname=gummi-svn  
3 pkgver=1142
4 pkgrel=1
5 pkgdesc="Simple LaTeX editor for GTK users - latest svn"
6 url="http://gummi.midnightcoding.org"
7 arch=('i686' 'x86_64')
8 license=('custom')
9 depends=('poppler-glib' 'gtksourceview2' 'texlive-core' 'gtkspell')
10 makedepends=('subversion' 'intltool')
11 conflicts=('gummi')
12 provides=('gummi')
13 install=gummi-svn.install
14 source=()
15 md5sums=()
16 _svntrunk=http://svn.midnightcoding.org/gummi/trunk
17 _svnmod=gummi
19 build() {
20   cd "$srcdir"
22   if [ -d $_svnmod/.svn ]; then
23     (cd $_svnmod && svn up -r $pkgver)
24   else
25     svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
26   fi
28   msg "SVN checkout done or server timeout"
29   msg "Starting make..."
31   rm -rf "$srcdir/$_svnmod-build"
32   cp -r "$srcdir/$_svnmod" "$srcdir/$_svnmod-build"
33   cd "$srcdir/$_svnmod-build"
35   #
36   # BUILD
37   #
38   autoreconf
39   ./configure --prefix=/usr 
40   make
42 package() {
43   cd $srcdir/$_svnmod-build
44   make DESTDIR=$pkgdir install
45   install -Dm644 $srcdir/$_svnmod-build/COPYING \
46     $pkgdir/usr/share/licenses/gummi-svn/COPYING