summaryrefslogtreecommitdiff
path: root/nonprism/gnome-weather/PKGBUILD
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-04-25 11:39:45 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-04-25 11:39:45 -0300
commit8d54504060b20bae0153f85154bb5179c022dc20 (patch)
treeb96b693b9605afeb9172a55527ac52e34c64d3d9 /nonprism/gnome-weather/PKGBUILD
parent73fdb047b37297dc6d6082c190807b5310524713 (diff)
gnome-weather: add new package to [nonprism]
Diffstat (limited to 'nonprism/gnome-weather/PKGBUILD')
-rw-r--r--nonprism/gnome-weather/PKGBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/nonprism/gnome-weather/PKGBUILD b/nonprism/gnome-weather/PKGBUILD
new file mode 100644
index 000000000..7104a6a98
--- /dev/null
+++ b/nonprism/gnome-weather/PKGBUILD
@@ -0,0 +1,35 @@
+# $Id: PKGBUILD 262422 2016-03-22 20:28:28Z jgc $
+# Maintainer (Arch): Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
+# Maintainer: André Silva <emulatorman@parabola.nu>
+
+pkgname=gnome-weather
+pkgver=3.20.0
+pkgrel=1.nonprism1
+pkgdesc="Access current weather conditions and forecasts, without geoclue2 support"
+arch=(any)
+url="https://www.gnome.org/"
+license=(GPL)
+depends=(gtk3 gjs libgweather)
+makedepends=(intltool gobject-introspection)
+groups=(gnome-extra)
+install=gnome-weather.install
+source=(http://ftp.gnome.org/pub/GNOME/sources/${pkgname}/${pkgver:0:4}/${pkgname}-${pkgver}.tar.xz
+ nonprism.patch)
+sha256sums=('3d56c59715656c9031b42f4803ee22776a954cd0587f465590ea0f43cec5b46a'
+ '67daef24d0aaf285d1f2960d5f3b976e71e5150233468a738cdd7557ee730fa4')
+
+prepare() {
+ cd $pkgname-$pkgver
+ patch -p1 -i $srcdir/nonprism.patch
+}
+
+build() {
+ cd $pkgname-$pkgver
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+}