updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / sni-qt / PKGBUILD
blob0c817de1ae6eb01151fa1f93a752d2436577d879
1 # Maintainer: György Balló <ballogy@freestart.hu>
2 pkgname=sni-qt
3 pkgver=0.2.6
4 pkgrel=2
5 pkgdesc="A Qt plugin which turns all QSystemTrayIcon into StatusNotifierItems (appindicators)"
6 arch=('i686' 'x86_64')
7 url="https://launchpad.net/sni-qt"
8 license=('GPL')
9 depends=('qt-ubuntu' 'libdbusmenu-qt')
10 makedepends=('cmake')
11 source=(http://launchpad.net/$pkgname/trunk/$pkgver/+download/$pkgname-$pkgver.tar.bz2
12         sni-qt.conf)
13 md5sums=('e84c66e776f7c22c961817387f618c81'
14          '4bc8bd4cd17006c6d3ce2cd320c8e7b2')
16 build() {
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
23   make
26 package() {
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"