diff options
Diffstat (limited to 'community/libmateweather')
-rw-r--r-- | community/libmateweather/PKGBUILD | 35 | ||||
-rw-r--r-- | community/libmateweather/libmateweather.install | 12 |
2 files changed, 47 insertions, 0 deletions
diff --git a/community/libmateweather/PKGBUILD b/community/libmateweather/PKGBUILD new file mode 100644 index 000000000..82d54aebe --- /dev/null +++ b/community/libmateweather/PKGBUILD @@ -0,0 +1,35 @@ +# $Id: PKGBUILD 104174 2014-01-16 15:20:18Z flexiondotorg $ +# Maintainer : Martin Wimpress <code@flexion.org> +# Contributor: Giovanni "Talorno" Ricciardi <kar98k.sniper@gmail.com> +# Contributor: Xpander <xpander0@gmail.com> + +pkgname=libmateweather +pkgver=1.6.2 +pkgrel=5 +pkgdesc="Provides access to weather information from the net" +url="http://mate-desktop.org" +arch=('i686' 'x86_64') +license=('LGPL') +depends=('dconf' 'gtk2' 'libsoup' 'pygtk' 'python2-gobject2') +makedepends=('mate-common' 'perl-xml-parser') +options=('!emptydirs') +source=("http://pub.mate-desktop.org/releases/1.6/${pkgname}-${pkgver}.tar.xz") +sha1sums=('56f30e35345864954a37228ad8103350f4bc3651') +install=${pkgname}.install + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + PYTHON=/usr/bin/python2 ./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --disable-static \ + --enable-python \ + --enable-locations-compression + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install +} diff --git a/community/libmateweather/libmateweather.install b/community/libmateweather/libmateweather.install new file mode 100644 index 000000000..d6813b0f7 --- /dev/null +++ b/community/libmateweather/libmateweather.install @@ -0,0 +1,12 @@ +post_install() { + glib-compile-schemas /usr/share/glib-2.0/schemas/ + gtk-update-icon-cache -q -t -f /usr/share/icons/mate +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} |