[arch-commits] Commit in mate-applets/repos (6 files)
Martin Wimpress
flexiondotorg at archlinux.org
Fri Nov 6 00:48:12 UTC 2015
Date: Friday, November 6, 2015 @ 01:48:12
Author: flexiondotorg
Revision: 146141
archrelease: copy trunk to community-staging-i686, community-staging-x86_64
Added:
mate-applets/repos/community-staging-i686/
mate-applets/repos/community-staging-i686/PKGBUILD
(from rev 146140, mate-applets/trunk/PKGBUILD)
mate-applets/repos/community-staging-i686/mate-applets.install
(from rev 146140, mate-applets/trunk/mate-applets.install)
mate-applets/repos/community-staging-x86_64/
mate-applets/repos/community-staging-x86_64/PKGBUILD
(from rev 146140, mate-applets/trunk/PKGBUILD)
mate-applets/repos/community-staging-x86_64/mate-applets.install
(from rev 146140, mate-applets/trunk/mate-applets.install)
-----------------------------------------------+
community-staging-i686/PKGBUILD | 44 ++++++++++++++++++++++++
community-staging-i686/mate-applets.install | 13 +++++++
community-staging-x86_64/PKGBUILD | 44 ++++++++++++++++++++++++
community-staging-x86_64/mate-applets.install | 13 +++++++
4 files changed, 114 insertions(+)
Copied: mate-applets/repos/community-staging-i686/PKGBUILD (from rev 146140, mate-applets/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2015-11-06 00:48:12 UTC (rev 146141)
@@ -0,0 +1,44 @@
+# Maintainer : Martin Wimpress <code at flexion.org>
+
+_ver=1.12
+_pkgbase=mate-applets
+pkgname=(${_pkgbase})
+pkgver=${_ver}.0
+pkgrel=1
+pkgdesc="Applets for MATE panel (GTK2 version)"
+arch=('i686' 'x86_64')
+url="http://mate-desktop.org"
+license=('GPL')
+depends=('gtksourceview2' 'libgtop' 'mate-panel>=1.12'
+ 'polkit' 'python2-dbus' 'python2-gobject' 'upower')
+makedepends=('docbook2x' 'docbook-xsl' 'mate-common' 'yelp-tools')
+optdepends=('fortune-mod: for displaying fortune cookies in the Wanda the Fish applet'
+ 'yelp: for reading MATE help documents')
+groups=('mate-extra')
+conflicts=("${_pkgbase}-gtk3")
+source=("http://pub.mate-desktop.org/releases/${_ver}/${_pkgbase}-${pkgver}.tar.xz")
+sha1sums=('f9d962fea66527bb920e9f9c2b0ccb034b85e64d')
+install=${_pkgbase}.install
+
+prepare() {
+ cd "${srcdir}/${_pkgbase}-${pkgver}"
+ sed -i 's/env python/env python2/' invest-applet/invest/{chart.py,invest-applet.py,mate-invest-chart}
+}
+
+build() {
+ cd "${srcdir}/${_pkgbase}-${pkgver}"
+ PYTHON=/usr/bin/python2 ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --libexecdir=/usr/lib/${_pkgbase} \
+ --enable-polkit \
+ --enable-ipv6 \
+ --with-gtk=2.0 \
+ --disable-static
+ make
+}
+
+package() {
+ cd "${srcdir}/${_pkgbase}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}
Copied: mate-applets/repos/community-staging-i686/mate-applets.install (from rev 146140, mate-applets/trunk/mate-applets.install)
===================================================================
--- community-staging-i686/mate-applets.install (rev 0)
+++ community-staging-i686/mate-applets.install 2015-11-06 00:48:12 UTC (rev 146141)
@@ -0,0 +1,13 @@
+post_install() {
+ glib-compile-schemas /usr/share/glib-2.0/schemas/
+ gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
+ gtk-update-icon-cache -q -t -f /usr/share/icons/mate
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
Copied: mate-applets/repos/community-staging-x86_64/PKGBUILD (from rev 146140, mate-applets/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2015-11-06 00:48:12 UTC (rev 146141)
@@ -0,0 +1,44 @@
+# Maintainer : Martin Wimpress <code at flexion.org>
+
+_ver=1.12
+_pkgbase=mate-applets
+pkgname=(${_pkgbase})
+pkgver=${_ver}.0
+pkgrel=1
+pkgdesc="Applets for MATE panel (GTK2 version)"
+arch=('i686' 'x86_64')
+url="http://mate-desktop.org"
+license=('GPL')
+depends=('gtksourceview2' 'libgtop' 'mate-panel>=1.12'
+ 'polkit' 'python2-dbus' 'python2-gobject' 'upower')
+makedepends=('docbook2x' 'docbook-xsl' 'mate-common' 'yelp-tools')
+optdepends=('fortune-mod: for displaying fortune cookies in the Wanda the Fish applet'
+ 'yelp: for reading MATE help documents')
+groups=('mate-extra')
+conflicts=("${_pkgbase}-gtk3")
+source=("http://pub.mate-desktop.org/releases/${_ver}/${_pkgbase}-${pkgver}.tar.xz")
+sha1sums=('f9d962fea66527bb920e9f9c2b0ccb034b85e64d')
+install=${_pkgbase}.install
+
+prepare() {
+ cd "${srcdir}/${_pkgbase}-${pkgver}"
+ sed -i 's/env python/env python2/' invest-applet/invest/{chart.py,invest-applet.py,mate-invest-chart}
+}
+
+build() {
+ cd "${srcdir}/${_pkgbase}-${pkgver}"
+ PYTHON=/usr/bin/python2 ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --libexecdir=/usr/lib/${_pkgbase} \
+ --enable-polkit \
+ --enable-ipv6 \
+ --with-gtk=2.0 \
+ --disable-static
+ make
+}
+
+package() {
+ cd "${srcdir}/${_pkgbase}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}
Copied: mate-applets/repos/community-staging-x86_64/mate-applets.install (from rev 146140, mate-applets/trunk/mate-applets.install)
===================================================================
--- community-staging-x86_64/mate-applets.install (rev 0)
+++ community-staging-x86_64/mate-applets.install 2015-11-06 00:48:12 UTC (rev 146141)
@@ -0,0 +1,13 @@
+post_install() {
+ glib-compile-schemas /usr/share/glib-2.0/schemas/
+ gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
+ gtk-update-icon-cache -q -t -f /usr/share/icons/mate
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
More information about the arch-commits
mailing list