[arch-commits] Commit in mate-applets/repos (6 files)
Martin Wimpress
flexiondotorg at nymeria.archlinux.org
Thu Jan 16 17:30:38 UTC 2014
Date: Thursday, January 16, 2014 @ 18:30:37
Author: flexiondotorg
Revision: 104220
archrelease: copy trunk to community-i686, community-x86_64
Added:
mate-applets/repos/community-i686/
mate-applets/repos/community-i686/PKGBUILD
(from rev 104219, mate-applets/trunk/PKGBUILD)
mate-applets/repos/community-i686/mate-applets.install
(from rev 104219, mate-applets/trunk/mate-applets.install)
mate-applets/repos/community-x86_64/
mate-applets/repos/community-x86_64/PKGBUILD
(from rev 104219, mate-applets/trunk/PKGBUILD)
mate-applets/repos/community-x86_64/mate-applets.install
(from rev 104219, mate-applets/trunk/mate-applets.install)
---------------------------------------+
community-i686/PKGBUILD | 55 ++++++++++++++++++++++++++++++++
community-i686/mate-applets.install | 13 +++++++
community-x86_64/PKGBUILD | 55 ++++++++++++++++++++++++++++++++
community-x86_64/mate-applets.install | 13 +++++++
4 files changed, 136 insertions(+)
Copied: mate-applets/repos/community-i686/PKGBUILD (from rev 104219, mate-applets/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2014-01-16 17:30:37 UTC (rev 104220)
@@ -0,0 +1,55 @@
+# $Id$
+# Maintainer : Martin Wimpress <code at flexion.org>
+# Contributor: Giovanni "Talorno" Ricciardi <kar98k.sniper at gmail.com>
+# Contributor: Xpander <xpander0 at gmail.com>
+
+pkgname=mate-applets
+pkgver=1.6.2
+pkgrel=1
+pkgdesc="Applets for MATE panel"
+arch=('i686' 'x86_64')
+url="http://mate-desktop.org"
+license=('GPL')
+depends=('mate-character-map' 'mate-panel' 'python2-dbus' 'python2-gobject'
+ 'upower')
+makedepends=('docbook2x' 'docbook-xsl' 'mate-common' 'mate-doc-utils'
+ 'networkmanager' 'perl-xml-parser')
+options=('!emptydirs')
+groups=('mate-extra')
+source=("http://pub.mate-desktop.org/releases/1.6/${pkgname}-${pkgver}.tar.xz"
+ "https://github.com/mate-desktop/mate-applets/commit/98dfd949e9209eefc0722fb232761f01b4fe2d7e.diff"
+ "https://github.com/mate-desktop/mate-applets/commit/6fca38a74cc9e6b4ce107496f2e0e7d203c43d2b.diff")
+sha1sums=('2978918a0b995b3f3dd98ad7ca159b0d7bcd245a'
+ 'c4d7f2d7952b53d8ac616ced55a4cf3da25c0fc4'
+ '36c4507e54b21fbcff49732077912dbc5283807a')
+install=${pkgname}.install
+
+prepare() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ #upower: fix upower version
+ patch -Np1 -i "${srcdir}/98dfd949e9209eefc0722fb232761f01b4fe2d7e.diff"
+ #battstat: use g_signal notify for upower-1.0
+ patch -Np1 -i "${srcdir}/6fca38a74cc9e6b4ce107496f2e0e7d203c43d2b.diff"
+ # Use python2
+ sed -i 's/env python/env python2/' invest-applet/invest/{chart.py,invest-applet.py,mate-invest-chart}
+ sed -i 's/env python/env python2/' timer-applet/src/timer-applet
+}
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ PYTHON=/usr/bin/python2 ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --libexecdir=/usr/lib/${pkgname} \
+ --enable-polkit \
+ --enable-networkmanager \
+ --enable-ipv6 \
+ --disable-static \
+ --disable-scrollkeeper
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}
Copied: mate-applets/repos/community-i686/mate-applets.install (from rev 104219, mate-applets/trunk/mate-applets.install)
===================================================================
--- community-i686/mate-applets.install (rev 0)
+++ community-i686/mate-applets.install 2014-01-16 17:30:37 UTC (rev 104220)
@@ -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-x86_64/PKGBUILD (from rev 104219, mate-applets/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2014-01-16 17:30:37 UTC (rev 104220)
@@ -0,0 +1,55 @@
+# $Id$
+# Maintainer : Martin Wimpress <code at flexion.org>
+# Contributor: Giovanni "Talorno" Ricciardi <kar98k.sniper at gmail.com>
+# Contributor: Xpander <xpander0 at gmail.com>
+
+pkgname=mate-applets
+pkgver=1.6.2
+pkgrel=1
+pkgdesc="Applets for MATE panel"
+arch=('i686' 'x86_64')
+url="http://mate-desktop.org"
+license=('GPL')
+depends=('mate-character-map' 'mate-panel' 'python2-dbus' 'python2-gobject'
+ 'upower')
+makedepends=('docbook2x' 'docbook-xsl' 'mate-common' 'mate-doc-utils'
+ 'networkmanager' 'perl-xml-parser')
+options=('!emptydirs')
+groups=('mate-extra')
+source=("http://pub.mate-desktop.org/releases/1.6/${pkgname}-${pkgver}.tar.xz"
+ "https://github.com/mate-desktop/mate-applets/commit/98dfd949e9209eefc0722fb232761f01b4fe2d7e.diff"
+ "https://github.com/mate-desktop/mate-applets/commit/6fca38a74cc9e6b4ce107496f2e0e7d203c43d2b.diff")
+sha1sums=('2978918a0b995b3f3dd98ad7ca159b0d7bcd245a'
+ 'c4d7f2d7952b53d8ac616ced55a4cf3da25c0fc4'
+ '36c4507e54b21fbcff49732077912dbc5283807a')
+install=${pkgname}.install
+
+prepare() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ #upower: fix upower version
+ patch -Np1 -i "${srcdir}/98dfd949e9209eefc0722fb232761f01b4fe2d7e.diff"
+ #battstat: use g_signal notify for upower-1.0
+ patch -Np1 -i "${srcdir}/6fca38a74cc9e6b4ce107496f2e0e7d203c43d2b.diff"
+ # Use python2
+ sed -i 's/env python/env python2/' invest-applet/invest/{chart.py,invest-applet.py,mate-invest-chart}
+ sed -i 's/env python/env python2/' timer-applet/src/timer-applet
+}
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ PYTHON=/usr/bin/python2 ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --libexecdir=/usr/lib/${pkgname} \
+ --enable-polkit \
+ --enable-networkmanager \
+ --enable-ipv6 \
+ --disable-static \
+ --disable-scrollkeeper
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}
Copied: mate-applets/repos/community-x86_64/mate-applets.install (from rev 104219, mate-applets/trunk/mate-applets.install)
===================================================================
--- community-x86_64/mate-applets.install (rev 0)
+++ community-x86_64/mate-applets.install 2014-01-16 17:30:37 UTC (rev 104220)
@@ -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