1 pkgname=notification-daemon-engine-coco-git
4 pkgdesc="The Coco (NotifyOSD look-alike) theme engine for the notification daemon"
6 url="http://github.com/tatofoo/notification-daemon-engine-coco"
8 depends=('gtk2' 'notification-daemon')
10 _gitroot="git://github.com/tatofoo/notification-daemon-engine-coco.git"
11 _gitname="notification-daemon-engine-coco"
13 # trick re-determining the build revision and, or entertain the hidden
14 # makepkg option --forcever, huh
15 if [ -z "$FORCE_VER" ]; then
16 msg "Determining latest build revision..."
17 FORCE_VER=$(wget -q -O- \
18 http://github.com/tatofoo/notification-daemon-engine-coco/commits/master \
19 | grep '<abbr class="relatize" title=' \
22 | sed -e 's/.*"//' -e "s/-//g")
27 msg "Connecting to GIT server...."
29 if [ -d $_gitname ] ; then
30 cd $_gitname && git pull origin
31 msg "The local files are updated."
36 msg "GIT checkout done or server timeout"
37 msg "Starting make..."
42 ./configure --prefix=/usr
44 make DESTDIR="$pkgdir" install