[arch-commits] Commit in libmateweather/repos (6 files)
Martin Wimpress
flexiondotorg at archlinux.org
Thu May 7 11:39:39 UTC 2015
Date: Thursday, May 7, 2015 @ 13:39:39
Author: flexiondotorg
Revision: 132874
archrelease: copy trunk to community-staging-i686, community-staging-x86_64
Added:
libmateweather/repos/community-staging-i686/
libmateweather/repos/community-staging-i686/PKGBUILD
(from rev 132873, libmateweather/trunk/PKGBUILD)
libmateweather/repos/community-staging-i686/libmateweather.install
(from rev 132873, libmateweather/trunk/libmateweather.install)
libmateweather/repos/community-staging-x86_64/
libmateweather/repos/community-staging-x86_64/PKGBUILD
(from rev 132873, libmateweather/trunk/PKGBUILD)
libmateweather/repos/community-staging-x86_64/libmateweather.install
(from rev 132873, libmateweather/trunk/libmateweather.install)
-------------------------------------------------+
community-staging-i686/PKGBUILD | 64 ++++++++++++++++++++++
community-staging-i686/libmateweather.install | 12 ++++
community-staging-x86_64/PKGBUILD | 64 ++++++++++++++++++++++
community-staging-x86_64/libmateweather.install | 12 ++++
4 files changed, 152 insertions(+)
Copied: libmateweather/repos/community-staging-i686/PKGBUILD (from rev 132873, libmateweather/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2015-05-07 11:39:39 UTC (rev 132874)
@@ -0,0 +1,64 @@
+# Maintainer : Martin Wimpress <code at flexion.org>
+
+_ver=1.10
+pkgbase=libmateweather
+pkgname=(${pkgbase} ${pkgbase}-gtk3)
+pkgver=${_ver}.0
+pkgrel=1
+pkgdesc="Provides access to weather information from the Internet."
+url="http://mate-desktop.org"
+arch=('i686' 'x86_64')
+license=('LGPL')
+depends=('dconf' 'gtk2' 'gtk3' 'libsoup')
+makedepends=('mate-common')
+source=("http://pub.mate-desktop.org/releases/${_ver}/${pkgname}-${pkgver}.tar.xz")
+sha1sums=('938c0063bf622c729b9ab33ea05cf37ea012be5e')
+install=${pkgbase}.install
+
+prepare() {
+ cd "${srcdir}"
+ mv "${pkgname}-${pkgver}" "${pkgbase}-gtk2"
+ cp -a "${pkgbase}-gtk2" "${pkgbase}-gtk3"
+}
+
+build() {
+ cd "${srcdir}/${pkgbase}-gtk2"
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --with-gtk=2.0 \
+ --disable-static \
+ --disable-python \
+ --enable-locations-compression
+ make
+
+ cd "${srcdir}/${pkgbase}-gtk3"
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --with-gtk=3.0 \
+ --disable-static \
+ --disable-python \
+ --enable-locations-compression
+ make
+}
+
+package_libmateweather() {
+ pkgdesc+=' (GTK2 version)'
+ conflicts=("${pkgbase}-gtk3")
+ depends=('dconf' 'gtk2' 'libsoup')
+
+ cd "${srcdir}/${pkgbase}-gtk2"
+ make DESTDIR="${pkgdir}" install
+}
+
+package_libmateweather-gtk3() {
+ pkgdesc+=' (GTK3 version [EXPERIMENTAL])'
+ conflicts=("${pkgbase}")
+ depends=('dconf' 'gtk3' 'libsoup')
+
+ cd "${srcdir}/${pkgbase}-gtk3"
+ make DESTDIR="${pkgdir}" install
+}
Copied: libmateweather/repos/community-staging-i686/libmateweather.install (from rev 132873, libmateweather/trunk/libmateweather.install)
===================================================================
--- community-staging-i686/libmateweather.install (rev 0)
+++ community-staging-i686/libmateweather.install 2015-05-07 11:39:39 UTC (rev 132874)
@@ -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
+}
Copied: libmateweather/repos/community-staging-x86_64/PKGBUILD (from rev 132873, libmateweather/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2015-05-07 11:39:39 UTC (rev 132874)
@@ -0,0 +1,64 @@
+# Maintainer : Martin Wimpress <code at flexion.org>
+
+_ver=1.10
+pkgbase=libmateweather
+pkgname=(${pkgbase} ${pkgbase}-gtk3)
+pkgver=${_ver}.0
+pkgrel=1
+pkgdesc="Provides access to weather information from the Internet."
+url="http://mate-desktop.org"
+arch=('i686' 'x86_64')
+license=('LGPL')
+depends=('dconf' 'gtk2' 'gtk3' 'libsoup')
+makedepends=('mate-common')
+source=("http://pub.mate-desktop.org/releases/${_ver}/${pkgname}-${pkgver}.tar.xz")
+sha1sums=('938c0063bf622c729b9ab33ea05cf37ea012be5e')
+install=${pkgbase}.install
+
+prepare() {
+ cd "${srcdir}"
+ mv "${pkgname}-${pkgver}" "${pkgbase}-gtk2"
+ cp -a "${pkgbase}-gtk2" "${pkgbase}-gtk3"
+}
+
+build() {
+ cd "${srcdir}/${pkgbase}-gtk2"
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --with-gtk=2.0 \
+ --disable-static \
+ --disable-python \
+ --enable-locations-compression
+ make
+
+ cd "${srcdir}/${pkgbase}-gtk3"
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --with-gtk=3.0 \
+ --disable-static \
+ --disable-python \
+ --enable-locations-compression
+ make
+}
+
+package_libmateweather() {
+ pkgdesc+=' (GTK2 version)'
+ conflicts=("${pkgbase}-gtk3")
+ depends=('dconf' 'gtk2' 'libsoup')
+
+ cd "${srcdir}/${pkgbase}-gtk2"
+ make DESTDIR="${pkgdir}" install
+}
+
+package_libmateweather-gtk3() {
+ pkgdesc+=' (GTK3 version [EXPERIMENTAL])'
+ conflicts=("${pkgbase}")
+ depends=('dconf' 'gtk3' 'libsoup')
+
+ cd "${srcdir}/${pkgbase}-gtk3"
+ make DESTDIR="${pkgdir}" install
+}
Copied: libmateweather/repos/community-staging-x86_64/libmateweather.install (from rev 132873, libmateweather/trunk/libmateweather.install)
===================================================================
--- community-staging-x86_64/libmateweather.install (rev 0)
+++ community-staging-x86_64/libmateweather.install 2015-05-07 11:39:39 UTC (rev 132874)
@@ -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
+}
More information about the arch-commits
mailing list