1 # Mainteiner: dieghen89 <dieghen89@gmail.com>
6 pkgdesc="GUI for full customize notify-osd-customizable"
7 url="https://launchpad.net/notifyconf"
9 depends=('notify-osd-customizable' 'qt')
12 source=('notifyconf.desktop')
13 md5sums=('06b1fbde2b18edbe3e152797063a9306')
15 _bzrtrunk=lp:notifyconf
21 if [ ! -d $srcdir/$_bzrmod ] ; then
22 bzr branch ${_bzrtrunk} ${_bzrmod}
27 msg "bzr checkout done or server timeout"
28 msg "Starting make..."
31 sed -i -e 's|\/usr\/share\/qt4\/mkspecs\/linux-g++|\/usr\/share\/qt\/mkspecs\/linux-g++|g' $srcdir/$pkgname/Makefile
32 sed -i -e 's|\/qt4\/QtCore|\/QtCore|g' $srcdir/$pkgname/Makefile
33 sed -i -e 's|\/qt4\/QtGui|\/QtGui|g' $srcdir/$pkgname/Makefile
34 sed -i -e 's|\/usr\/include\/qt4|\/usr\/include\/Qt|g' $srcdir/$pkgname/Makefile
35 sed -i -e 's|qmake-qt4|qmake|g' $srcdir/$pkgname/Makefile
36 sed -i -e 's|\/usr\/share\/qt4|\/usr\/share\/qt|g' $srcdir/$pkgname/Makefile
37 sed -i -e 's|moc-qt4|moc|g' $srcdir/$pkgname/Makefile
38 sed -i -e 's|uic-qt4|uic|g' $srcdir/$pkgname/Makefile
46 install -D -m 755 not.png $pkgdir/usr/share/notifyosdconf/not.png
47 install -D -m 755 default.def $pkgdir/usr/share/notifyosdconf/default.def
48 install -D -m 755 NotifyOSDConfiguration $pkgdir/usr/bin/notifyconf
49 install -D -m 755 $srcdir/notifyconf.desktop $pkgdir/usr/share/applications/notifyconf.desktop