updated on Thu Jan 12 16:09:17 UTC 2012
[aur-mirror.git] / gtkevemon-svn / PKGBUILD
blob585f4e6f2d84d6a403f52507009e857b383d5b15
1 # Contributor: Chrysalis <mindaxis[at]gmail[dot]com>
2 # Contributor: andrew <andrew[at]andrewyates[dot]net>
4 pkgname=gtkevemon-svn
5 pkgver=124
6 pkgrel=1
7 pkgdesc="GTK clone of EveMon skill monitor for EVE Online"
8 arch=('i686' 'x86_64')
9 url="http://gtkevemon.battleclinic.com/index.html"
10 license=('GPL3')
11 depends=('gtk2' 'gtkmm' 'libxml2')
12 makedepends=('subversion')
13 provides=('gtkevemon')
14 conflicts=('gtkevemon')
15 options=()
16 install=
17 source=()
18 md5sums=() #generate with 'makepkg -g'
20 _svntrunk=svn://svn.battleclinic.com/GTKEVEMon/trunk/gtkevemon
21 _svnmod=gtkevemon
23 build() {
24   cd "$srcdir"
26   if [ -d $_svnmod/.svn ]; then
27     (cd $_svnmod && svn up -r $pkgver)
28   else
29     svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
30   fi
32   msg "SVN checkout done or server timeout"
33   msg "Starting make..."
35   rm -rf "$srcdir/$_svnmod-build"
36   cp -r "$srcdir/$_svnmod" "$srcdir/$_svnmod-build"
37   cd "$srcdir/$_svnmod-build"
39   make
42 package() {
43   cd "${srcdir}/${_svnmod}-build"
44   make INSTALL_BIN=$pkgdir/usr/bin \
45     INSTALL_DIR_ICON=$pkgdir/usr/share/pixmaps \
46     INSTALL_DIR_DESK=$pkgdir/usr/share/applications \
47     install
50 # vim:set ts=2 sw=2 et: