1 # Maintainer: György Balló <ballogy@freestart.hu>
5 pkgdesc="A Qt plugin which turns all QSystemTrayIcon into StatusNotifierItems (appindicators)"
7 url="https://launchpad.net/sni-qt"
9 depends=('qt-ubuntu' 'libdbusmenu-qt')
11 source=(http://launchpad.net/$pkgname/trunk/$pkgver/+download/$pkgname-$pkgver.tar.bz2
13 md5sums=('e84c66e776f7c22c961817387f618c81'
14 '4bc8bd4cd17006c6d3ce2cd320c8e7b2')
17 cd "$srcdir/$pkgname-$pkgver"
19 # Disable building tests
20 sed -i '/tests/ d' CMakeLists.txt
22 cmake . -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release
27 cd "$srcdir/$pkgname-$pkgver"
29 make DESTDIR="$pkgdir/" install
31 # Install config file for apps that need "Activate" action
32 install -Dm644 "$srcdir/sni-qt.conf" "$pkgdir/etc/sni-qt.conf"