updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / libnotify-hack / PKGBUILD
blob8df4423c85cc6336dc2f6e9ab38a42798d5366b7
1 pkgname=libnotify-hack
2 pkgver=20100725
3 pkgrel=1
4 pkgdesc="Desktop notification library - hacked for better using with notification-daemon-engine-coco"
5 arch=(i686 x86_64)
6 license=('LGPL')
7 depends=('dbus-glib>=0.80' 'gtk2')
8 makedepends=('pkgconfig' 'git')
9 url="http://github.com/tatofoo/libnotify-hack"
10 options=('!libtool')
11 replaces=('libnotify')
12 conflicts=('libnotify')
13 provides=('libnotify=0.4.5')
15 source=()
16 _gitroot="http://github.com/tatofoo/libnotify-hack.git"
17 _gitname="libnotify-hack"
20 build() {
21         cd "$srcdir"
22         msg "Connecting to GIT server...."
24         if [ -d $_gitname ] ; then
25                 cd $_gitname && git pull origin
26                 msg "The local files are updated."
27         else
28                 git clone $_gitroot
29         fi
31         msg "GIT checkout done or server timeout"
32         msg "Starting make..."
34         cd ${_gitname}
36         ./autogen.sh
38   ./configure --prefix=/usr --disable-static || return 1
39   mv README.mkd README
40   make || return 1
41   make DESTDIR="${pkgdir}" install || return 1