summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO20
-rw-r--r--PKGBUILD35
2 files changed, 55 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..3b6ce59ff97
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,20 @@
+# Generated by mksrcinfo v8
+# Mon Sep 12 14:04:30 UTC 2016
+pkgbase = mate-snw-plugin
+ pkgdesc = Mate panel plugin to show StatusNotifierItems (AppIndicators)
+ pkgver = 0.8
+ pkgrel = 1
+ url = https://github.com/equeim/snw-plugin
+ arch = i686
+ arch = x86_64
+ license = GPL3
+ makedepends = vala
+ makedepends = python
+ makedepends = intltool
+ depends = libdbusmenu-gtk2
+ depends = mate-panel
+ source = snw-plugin-0.8.tar.gz::https://github.com/equeim/snw-plugin/archive/0.8.tar.gz
+ sha256sums = dd62c4f75221965a280e4b6c41ea785a7796a8d7be939327fe94b0835677b612
+
+pkgname = mate-snw-plugin
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..4e6180b8df0
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,35 @@
+# Maintainer: twa022 <twa022 at gmail dot com>
+# Contributor: Alexey Rochev <equeim at gmail dot com>
+
+_pkgname=snw-plugin
+pkgname="mate-${_pkgname}"
+pkgver=0.8
+pkgrel=1
+pkgdesc="Mate panel plugin to show StatusNotifierItems (AppIndicators)"
+url="https://github.com/equeim/snw-plugin"
+arch=('i686' 'x86_64')
+license=('GPL3')
+depends=('libdbusmenu-gtk2')
+if [[ `pacman -Qq mate-panel-gtk3 2>/dev/null` ]] ; then
+ depends+=('mate-panel-gtk3')
+else
+ depends+=('mate-panel')
+fi
+makedepends=('vala' 'python' 'intltool')
+source=("${_pkgname}-${pkgver}.tar.gz"::"${url}/archive/${pkgver}.tar.gz")
+sha256sums=('dd62c4f75221965a280e4b6c41ea785a7796a8d7be939327fe94b0835677b612')
+
+prepare() {
+ cd "${srcdir}/${_pkgname}-${pkgver}"
+ ./waf configure --prefix="/usr" --libdir="/usr/lib" --mate
+}
+
+build() {
+ cd "${srcdir}/${_pkgname}-${pkgver}"
+ ./waf build
+}
+
+package() {
+ cd "${srcdir}/${_pkgname}-${pkgver}"
+ ./waf install --destdir="${pkgdir}"
+}