updated on Wed Jan 18 08:00:29 UTC 2012
[aur-mirror.git] / emerillon-git / PKGBUILD
blob0c602ee6460c1b36ee7a905822e466f4f4a52e3d
1 # Maintainer: Isaac Dupree <id@isaac.cedarswampstudios.org>
2 # Contributor: yannsen <ynnsen@gmail.com>
3 pkgname=emerillon-git
4 arch=('i686' 'x86_64')
5 pkgver=20111024
6 pkgrel=1
7 pkgdesc="OpenStreetMap viewer"
8 url="http://projects.gnome.org/emerillon/"
9 license=(GPL)
10 depends=(geoclue libchamplain rest libpeas)
11 makedepends=(gnome-common vala gtk-doc)
12 options=(!libtool)
13 provides=(emerillon)
14 _gitroot="git://git.gnome.org/emerillon"
15 _gitname="emerillon"
16 install=${pkgname}.install
17 source=()
18 md5sums=()
21 build() {
22   cd ${srcdir}
23   msg "Connecting to $pkgname GIT server...."
25   if [ -d ${srcdir}/$_gitname ] ; then
26           cd $_gitname && git pull origin
27           msg "The local files are updated."
28   else
29           git clone $_gitroot
30   fi
32   cd ${srcdir}/$_gitname
33   ./autogen.sh --prefix=/usr
34   make
36 package() {
37   cd ${srcdir}/$_gitname
38   make DESTDIR=$pkgdir install