[arch-commits] Commit in mate-applets/repos (6 files)
Martin Wimpress
flexiondotorg at nymeria.archlinux.org
Wed Mar 5 23:20:27 UTC 2014
Date: Thursday, March 6, 2014 @ 00:20:26
Author: flexiondotorg
Revision: 106604
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 106603, mate-applets/trunk/PKGBUILD)
mate-applets/repos/community-staging-i686/mate-applets.install
(from rev 106603, mate-applets/trunk/mate-applets.install)
mate-applets/repos/community-staging-x86_64/
mate-applets/repos/community-staging-x86_64/PKGBUILD
(from rev 106603, mate-applets/trunk/PKGBUILD)
mate-applets/repos/community-staging-x86_64/mate-applets.install
(from rev 106603, mate-applets/trunk/mate-applets.install)
-----------------------------------------------+
community-staging-i686/PKGBUILD | 42 ++++++++++++++++++++++++
community-staging-i686/mate-applets.install | 13 +++++++
community-staging-x86_64/PKGBUILD | 42 ++++++++++++++++++++++++
community-staging-x86_64/mate-applets.install | 13 +++++++
4 files changed, 110 insertions(+)
Copied: mate-applets/repos/community-staging-i686/PKGBUILD (from rev 106603, mate-applets/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2014-03-05 23:20:26 UTC (rev 106604)
@@ -0,0 +1,42 @@
+# Maintainer : Martin Wimpress <code at flexion.org>
+
+pkgname=mate-applets
+pkgver=1.8.0
+pkgrel=1
+pkgdesc="Applets for MATE panel"
+arch=('i686' 'x86_64')
+url="http://mate-desktop.org"
+license=('GPL')
+depends=('gtksourceview2' 'gucharmap' 'mate-panel' 'python2-dbus'
+ 'python2-gobject' 'upower')
+makedepends=('docbook2x' 'docbook-xsl' 'mate-common' 'networkmanager'
+ 'perl-xml-parser' 'yelp-tools')
+optdepends=('yelp: for reading MATE help documents')
+options=('!emptydirs')
+groups=('mate-extra')
+source=("http://pub.mate-desktop.org/releases/1.8/${pkgname}-${pkgver}.tar.xz")
+sha1sums=('c9e7ac6f9cc6b6ebd77720b056a3a81536b92419')
+install=${pkgname}.install
+
+prepare() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ sed -i 's/env python/env python2/' invest-applet/invest/{chart.py,invest-applet.py,mate-invest-chart}
+}
+
+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
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}
Copied: mate-applets/repos/community-staging-i686/mate-applets.install (from rev 106603, mate-applets/trunk/mate-applets.install)
===================================================================
--- community-staging-i686/mate-applets.install (rev 0)
+++ community-staging-i686/mate-applets.install 2014-03-05 23:20:26 UTC (rev 106604)
@@ -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 106603, mate-applets/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2014-03-05 23:20:26 UTC (rev 106604)
@@ -0,0 +1,42 @@
+# Maintainer : Martin Wimpress <code at flexion.org>
+
+pkgname=mate-applets
+pkgver=1.8.0
+pkgrel=1
+pkgdesc="Applets for MATE panel"
+arch=('i686' 'x86_64')
+url="http://mate-desktop.org"
+license=('GPL')
+depends=('gtksourceview2' 'gucharmap' 'mate-panel' 'python2-dbus'
+ 'python2-gobject' 'upower')
+makedepends=('docbook2x' 'docbook-xsl' 'mate-common' 'networkmanager'
+ 'perl-xml-parser' 'yelp-tools')
+optdepends=('yelp: for reading MATE help documents')
+options=('!emptydirs')
+groups=('mate-extra')
+source=("http://pub.mate-desktop.org/releases/1.8/${pkgname}-${pkgver}.tar.xz")
+sha1sums=('c9e7ac6f9cc6b6ebd77720b056a3a81536b92419')
+install=${pkgname}.install
+
+prepare() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ sed -i 's/env python/env python2/' invest-applet/invest/{chart.py,invest-applet.py,mate-invest-chart}
+}
+
+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
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}
Copied: mate-applets/repos/community-staging-x86_64/mate-applets.install (from rev 106603, mate-applets/trunk/mate-applets.install)
===================================================================
--- community-staging-x86_64/mate-applets.install (rev 0)
+++ community-staging-x86_64/mate-applets.install 2014-03-05 23:20:26 UTC (rev 106604)
@@ -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