summaryrefslogtreecommitdiff
path: root/nonprism/gnome-weather/PKGBUILD
blob: 7104a6a98792c073623a288da918186d15a19bc4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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
}