summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorΝικόλαος Κυριάκος Φυτίλης2016-08-09 11:26:25 +0300
committerΝικόλαος Κυριάκος Φυτίλης2016-08-09 11:26:25 +0300
commitcf9f4fb2f96216fe845413893dd681ea1d508817 (patch)
treec511a11a693f7df0c15aaed343ccfe05f27fd838
downloadaur-cf9f4fb2f96216fe845413893dd681ea1d508817.tar.gz
auto - see github.com/nicman23/mate_arch
-rw-r--r--.SRCINFO37
-rw-r--r--PKGBUILD49
2 files changed, 86 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..888ffbf7e4b
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,37 @@
+pkgbase = mate-applets-dev
+ pkgdesc = Applets for MATE panel
+ pkgver = 1.15.1
+ pkgrel = 1
+ url = http://mate-desktop.org
+ arch = i686
+ arch = x86_64
+ groups = mate-extra
+ license = GPL
+ makedepends = docbook2x
+ makedepends = docbook-xsl
+ makedepends = mate-common
+ makedepends = yelp-tools
+ makedepends = gtksourceview3
+ makedepends = mate-panel-dev
+ depends = glib2
+ depends = gtksourceview2
+ depends = gtk-update-icon-cache
+ depends = libgtop
+ depends = libnotify
+ depends = mate-panel-dev
+ depends = polkit
+ depends = python2-dbus
+ depends = python2-gobject
+ depends = upower
+ optdepends = fortune-mod: for displaying fortune cookies in the Wanda the Fish applet
+ optdepends = yelp: for reading MATE help documents
+ provides = mate-applets
+ provides = mate-applets-gtk3
+ conflicts = mate-applets
+ conflicts = mate-applets-gtk3
+ source = http://pub.mate-desktop.org/releases/1.15/mate-applets-1.15.1.tar.xz
+ sha1sums = e1464e32d9c9d0e06898e41c80812d89b0ca49db
+
+pkgname = mate-applets-dev
+ pkgdesc = Applets for MATE panel (GTK3 version)
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..99fa49d2dcc
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,49 @@
+# Maintainer: Νικόλαος Κυριάκος Φυτίλης <n-fit@live.com>
+# Contributor: eadrom <eadrom@archlinux.info>
+# Contributor: Martin Wimpress <code@flexion.org>
+
+_ver=1.15
+_pkgbase=mate-applets
+pkgname="${_pkgbase}-dev"
+pkgver=${_ver}.1
+pkgrel=1
+pkgdesc="Applets for MATE panel"
+arch=('i686' 'x86_64')
+provides=("${_pkgbase}" "${_pkgbase}-gtk3")
+conflicts=("${_pkgbase}" "${_pkgbase}-gtk3")
+url="http://mate-desktop.org"
+license=('GPL')
+depends=('glib2' 'gtksourceview2' 'gtk-update-icon-cache' 'libgtop' 'libnotify'
+ 'mate-panel-dev' 'polkit' 'python2-dbus' 'python2-gobject' 'upower')
+makedepends=('docbook2x' 'docbook-xsl' 'mate-common' 'yelp-tools' 'gtksourceview3' 'mate-panel-dev')
+optdepends=('fortune-mod: for displaying fortune cookies in the Wanda the Fish applet'
+ 'yelp: for reading MATE help documents')
+groups=('mate-extra')
+source=("http://pub.mate-desktop.org/releases/${_ver}/${_pkgbase}-${pkgver}.tar.xz")
+sha1sums=('e1464e32d9c9d0e06898e41c80812d89b0ca49db')
+
+prepare() {
+ cd "${srcdir}"
+ mv "${_pkgbase}-${pkgver}" "${_pkgbase}-gtk3"
+ cd "${srcdir}/${_pkgbase}-gtk3"
+ sed -i 's/env python/env python2/' invest-applet/invest/{chart.py,invest-applet.py,mate-invest-chart}
+}
+
+build() {
+ cd "${srcdir}/${_pkgbase}-gtk3"
+ PYTHON=/usr/bin/python2 ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --libexecdir=/usr/lib/${_pkgbase} \
+ --enable-polkit \
+ --enable-ipv6 \
+ --with-gtk=3.0 \
+ --disable-static
+ make
+}
+
+package() {
+ pkgdesc+=' (GTK3 version)'
+ cd "${srcdir}/${_pkgbase}-gtk3"
+ make DESTDIR="${pkgdir}" install
+}