blob: 857af92911a636584e4bda100ab05678b97d4339 (
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
36
37
38
39
40
41
42
43
44
45
|
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libgweather
pkgver=3.20.0
pkgrel=0
pkgdesc="GNOME weather library"
url="http://www.gnome.org/"
arch="all"
license="LGPL"
depends="tzdata"
makedepends="gtk+3.0-dev libsoup-dev libxml2-dev glib-dev geocode-glib-dev"
install=""
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="http://ftp.gnome.org/pub/GNOME/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"
_builddir="${srcdir}/${pkgname}-${pkgver}"
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
}
md5sums="e3c273bce7772450b3d93136bcbb1653 libgweather-3.20.0.tar.xz"
sha256sums="52629b8e9fcd979377f43a2223cf0e7096d3c3e940faa94021132ee0f879b8d6 libgweather-3.20.0.tar.xz"
sha512sums="ba95212b2e47fed3a0d5d8322672761c59bb78a2557f837ef439072b0561d2cdb5ec8b5848508e1cf5bf5a7aecca82cf7d7e13f695c415dff42489566bad2f22 libgweather-3.20.0.tar.xz"
|