1 # Contributor: Spyros "Foucault" Stathopoulos <foucault.online@gmail.com>
2 pkgname=notification-daemon-engine-nodoka-git
5 pkgdesc="Nodoka theme for gnome-notification-daemon (git version)."
7 url="https://fedorahosted.org/nodoka/wiki"
9 depends=('notification-daemon>=0.4')
11 provides=('notification-daemon-engine-nodoka' 'notification-daemon-engine-nodoka-git')
12 conflicts=('notification-daemon-engine-nodoka')
13 replaces=('notification-daemon-engine-nodoka')
17 _gitroot="git://git.fedorahosted.org/nodoka"
18 _gitname="notification-daemon-engine-nodoka"
22 msg "Connecting to GIT server..."
24 if [ -d $_gitname ] ; then
25 cd $_gitname && git pull origin
26 msg "The local files are updated."
28 msg "git clone $_gitroot $_gitname"
29 git clone $_gitroot $_gitname
32 msg "GIT checkout done or server timeout"
33 msg "Starting make..."
35 rm -rf "$srcdir/$_gitname-build"
36 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
37 cd "$srcdir/$_gitname-build/$_gitname"
40 ./configure --prefix=/usr
42 make DESTDIR="$pkgdir/" install