Date: Saturday, May 9, 2015 @ 17:17:48 Author: flexiondotorg Revision: 133092
Added mate-applets-gtk3 Added: mate-applets-gtk3/ mate-applets-gtk3/repos/ mate-applets-gtk3/trunk/ mate-applets-gtk3/trunk/PKGBUILD mate-applets-gtk3/trunk/mate-applets.install ----------------------+ PKGBUILD | 44 ++++++++++++++++++++++++++++++++++++++++++++ mate-applets.install | 13 +++++++++++++ 2 files changed, 57 insertions(+) Added: mate-applets-gtk3/trunk/PKGBUILD =================================================================== --- mate-applets-gtk3/trunk/PKGBUILD (rev 0) +++ mate-applets-gtk3/trunk/PKGBUILD 2015-05-09 15:17:48 UTC (rev 133092) @@ -0,0 +1,44 @@ +# $Id$ +# Maintainer : Martin Wimpress <c...@flexion.org> + +_ver=1.10 +_pkgbase=mate-applets +pkgname=(${_pkgbase}-gtk3) +pkgver=${_ver}.0 +pkgrel=1 +pkgdesc="Applets for MATE panel (GTK3 version [EXPERIMENTAL])" +arch=('i686' 'x86_64') +url="http://mate-desktop.org" +license=('GPL') +depends=('gtksourceview3' 'mate-panel-gtk3>=1.10' '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-gtk3') +conflicts=("${_pkgbase}") +source=("http://pub.mate-desktop.org/releases/${_ver}/${_pkgbase}-${pkgver}.tar.xz") +sha1sums=('953fcbb9865dbbfbb1a8ccfc85884b1f336b33b2') +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=3.0 \ + --disable-static + make +} + +package() { + cd "${srcdir}/${_pkgbase}-${pkgver}" + make DESTDIR="${pkgdir}" install +} Property changes on: mate-applets-gtk3/trunk/PKGBUILD ___________________________________________________________________ Added: svn:keywords ## -0,0 +1 ## +Id \ No newline at end of property Added: mate-applets-gtk3/trunk/mate-applets.install =================================================================== --- mate-applets-gtk3/trunk/mate-applets.install (rev 0) +++ mate-applets-gtk3/trunk/mate-applets.install 2015-05-09 15:17:48 UTC (rev 133092) @@ -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 +}