1 pkgname=qtnotifydaemon-svn
4 pkgdesc="Configurable and flexible Qt notification daemon"
6 url="http://sourceforge.net/projects/qtnotifydaemon"
9 makedepends=('subversion')
10 source=('org.freedesktop.Notifications.service')
11 md5sums=('3ddb9114a6de013592449a88a12aef46')
12 install="${pkgname}.install"
13 provides=('qtnotifydaemon' 'notification-daemon' 'xfce4-notifyd' 'notify-osd')
14 conflicts=('qtnotifydaemon' 'notification-daemon' 'xfce4-notifyd' 'notify-osd')
16 _svntrunk="https://qtnotifydaemon.svn.sourceforge.net/svnroot/qtnotifydaemon"
17 _svnmod="qtnotifydaemon"
22 msg2 "Connecting to $_svntrunk SVN server...."
23 if [ -d $_svnmod/.svn ]; then
24 (cd $_svnmod && svn up -r $pkgver)
26 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
28 msg2 "SVN checkout done or server timeout"
30 msg2 "Starting make..."
31 if [[ -d "${srcdir}/build" ]]; then
32 msg2 "Cleaning the previous build directory..."
33 rm -rf "${srcdir}/build"
35 mkdir "${srcdir}/${_svnmod}-build"
36 cd "${srcdir}/${_svnmod}-build"
37 qmake ${srcdir}/${_svnmod}/qtnotifydaemon.pro
42 install -Dm 755 ${srcdir}/${_svnmod}-build/qtnotifydaemon ${pkgdir}/usr/bin/qtnotifydaemon
43 install -Dm 644 ${srcdir}/org.freedesktop.Notifications.service ${pkgdir}/usr/share/dbus-1/services/org.freedesktop.Notifications.service