updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / libnotify-git / PKGBUILD
blob8c95000d9b25336f73242d184a2f42fa5e9d980c
1 # Maintainer: Soulou <leo@soulou.fr>
2 # Contributor: Aaron Griffin <aaron@archlinux.org>
3 # Contributor: dorphell <dorphell@archlinux.org>
5 pkgname=libnotify-git
6 pkgver=20110509
7 pkgrel=1
8 pkgdesc="Gnome notification library"
9 arch=('i686' 'x86_64')
10 license=('GPL2.1')
11 url="http://library.gnome.org/devel/libnotify/"
12 depends=('glib2-git')
13 makedepends=('pkgconfig' 'git')
14 options=('!libtool')
15 conflicts=('libnotify')
16 provides=('libnotify=0.7.3')
17 source=()
18 md5sums=()
20 _gitroot="git://git.gnome.org/libnotify.git"
21 _gitname="libnotify"
24 build() {
25   cd ${srcdir}
26   msg "Connecting to git.gnome.org GIT server...."
28   if [ -d ${srcdir}/$_gitname ] ; then
29     cd $_gitname && git pull origin
30     msg "The local files are updated."
31     else
32     git clone $_gitroot
33   fi
35   cd ${srcdir}/$_gitname
36   ./autogen.sh --prefix=/usr
37   make || return 1
38   make DESTDIR="$pkgdir/" install || return 1