[arch-commits] Commit in sni-qt/repos (6 files)
Andrea Scarpino
andrea at archlinux.org
Sun Dec 14 16:18:26 UTC 2014
Date: Sunday, December 14, 2014 @ 17:18:26
Author: andrea
Revision: 227607
archrelease: copy trunk to extra-i686, extra-x86_64
Added:
sni-qt/repos/extra-i686/
sni-qt/repos/extra-i686/PKGBUILD
(from rev 227606, sni-qt/trunk/PKGBUILD)
sni-qt/repos/extra-i686/sni-qt.conf
(from rev 227606, sni-qt/trunk/sni-qt.conf)
sni-qt/repos/extra-x86_64/
sni-qt/repos/extra-x86_64/PKGBUILD
(from rev 227606, sni-qt/trunk/PKGBUILD)
sni-qt/repos/extra-x86_64/sni-qt.conf
(from rev 227606, sni-qt/trunk/sni-qt.conf)
--------------------------+
extra-i686/PKGBUILD | 40 ++++++++++++++++++++++++++++++++++++++++
extra-i686/sni-qt.conf | 6 ++++++
extra-x86_64/PKGBUILD | 40 ++++++++++++++++++++++++++++++++++++++++
extra-x86_64/sni-qt.conf | 6 ++++++
4 files changed, 92 insertions(+)
Copied: sni-qt/repos/extra-i686/PKGBUILD (from rev 227606, sni-qt/trunk/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD (rev 0)
+++ extra-i686/PKGBUILD 2014-12-14 16:18:26 UTC (rev 227607)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Alcasa Mz <alcasa.mz at gmail.com>
+
+pkgname=sni-qt
+pkgver=0.2.6
+pkgrel=3
+pkgdesc='Qt4 plugin which turns all QSystemTrayIcon into StatusNotifierItems (appindicators)'
+arch=('i686' 'x86_64')
+url='https://launchpad.net/sni-qt'
+license=('GPL')
+depends=('libdbusmenu-qt')
+makedepends=('cmake')
+source=("http://launchpad.net/${pkgname}/trunk/${pkgver}/+download/${pkgname}-${pkgver}.tar.bz2"
+ 'sni-qt.conf')
+md5sums=('e84c66e776f7c22c961817387f618c81'
+ '5b3fc74b8b7a6b99975312d0411960ed')
+
+prepare() {
+ mkdir build
+
+ # Disable building tests
+ sed -i '/tests/ d' ${pkgname}-${pkgver}/CMakeLists.txt
+}
+
+build() {
+ cd build
+ cmake ../${pkgname}-${pkgver} \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="${pkgdir}" install
+
+ # Install config file for apps that need "Activate" action
+ install -Dm644 "${srcdir}/sni-qt.conf" "${pkgdir}/etc/sni-qt.conf"
+}
Copied: sni-qt/repos/extra-i686/sni-qt.conf (from rev 227606, sni-qt/trunk/sni-qt.conf)
===================================================================
--- extra-i686/sni-qt.conf (rev 0)
+++ extra-i686/sni-qt.conf 2014-12-14 16:18:26 UTC (rev 227607)
@@ -0,0 +1,6 @@
+[need-activate-action]
+clementine=1
+mumble=1
+skype=1
+speedcrunch=1
+keepassx=1
Copied: sni-qt/repos/extra-x86_64/PKGBUILD (from rev 227606, sni-qt/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD (rev 0)
+++ extra-x86_64/PKGBUILD 2014-12-14 16:18:26 UTC (rev 227607)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Alcasa Mz <alcasa.mz at gmail.com>
+
+pkgname=sni-qt
+pkgver=0.2.6
+pkgrel=3
+pkgdesc='Qt4 plugin which turns all QSystemTrayIcon into StatusNotifierItems (appindicators)'
+arch=('i686' 'x86_64')
+url='https://launchpad.net/sni-qt'
+license=('GPL')
+depends=('libdbusmenu-qt')
+makedepends=('cmake')
+source=("http://launchpad.net/${pkgname}/trunk/${pkgver}/+download/${pkgname}-${pkgver}.tar.bz2"
+ 'sni-qt.conf')
+md5sums=('e84c66e776f7c22c961817387f618c81'
+ '5b3fc74b8b7a6b99975312d0411960ed')
+
+prepare() {
+ mkdir build
+
+ # Disable building tests
+ sed -i '/tests/ d' ${pkgname}-${pkgver}/CMakeLists.txt
+}
+
+build() {
+ cd build
+ cmake ../${pkgname}-${pkgver} \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="${pkgdir}" install
+
+ # Install config file for apps that need "Activate" action
+ install -Dm644 "${srcdir}/sni-qt.conf" "${pkgdir}/etc/sni-qt.conf"
+}
Copied: sni-qt/repos/extra-x86_64/sni-qt.conf (from rev 227606, sni-qt/trunk/sni-qt.conf)
===================================================================
--- extra-x86_64/sni-qt.conf (rev 0)
+++ extra-x86_64/sni-qt.conf 2014-12-14 16:18:26 UTC (rev 227607)
@@ -0,0 +1,6 @@
+[need-activate-action]
+clementine=1
+mumble=1
+skype=1
+speedcrunch=1
+keepassx=1
More information about the arch-commits
mailing list