mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-06 13:57:14 +02:00
community/libgweather: upgrade to 3.26.0, added check()
This commit is contained in:
parent
ab71fcd61b
commit
66d50df727
@ -1,43 +1,37 @@
|
|||||||
# Contributor: William Pitcock <nenolod@dereferenced.org>
|
# Contributor: William Pitcock <nenolod@dereferenced.org>
|
||||||
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
||||||
pkgname=libgweather
|
pkgname=libgweather
|
||||||
pkgver=3.24.1
|
pkgver=3.26.0
|
||||||
pkgrel=0
|
pkgrel=0
|
||||||
pkgdesc="GNOME weather library"
|
pkgdesc="GNOME weather library"
|
||||||
url="http://www.gnome.org/"
|
url="http://www.gnome.org/"
|
||||||
arch="all"
|
arch="all"
|
||||||
license="LGPL"
|
license="LGPL"
|
||||||
depends="tzdata"
|
depends="tzdata"
|
||||||
makedepends="gtk+3.0-dev libsoup-dev libxml2-dev glib-dev geocode-glib-dev gobject-introspection-dev"
|
makedepends="gtk+3.0-dev libsoup-dev libxml2-dev
|
||||||
install=""
|
glib-dev geocode-glib-dev gobject-introspection-dev
|
||||||
|
libxml2-utils gtk-doc py-six"
|
||||||
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
|
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
|
||||||
source="http://ftp.gnome.org/pub/GNOME/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"
|
source="http://ftp.gnome.org/pub/GNOME/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"
|
||||||
|
builddir="${srcdir}/${pkgname}-${pkgver}"
|
||||||
_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() {
|
build() {
|
||||||
cd "$_builddir"
|
cd "$builddir"
|
||||||
./configure \
|
./configure \
|
||||||
--build=$CBUILD \
|
--build=$CBUILD \
|
||||||
--host=$CHOST \
|
--host=$CHOST \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
--sysconfdir=/etc \
|
--sysconfdir=/etc
|
||||||
|| return 1
|
make
|
||||||
make || return 1
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
check() {
|
||||||
|
cd "$builddir"
|
||||||
|
make check
|
||||||
|
}
|
||||||
package() {
|
package() {
|
||||||
cd "$_builddir"
|
cd "$builddir"
|
||||||
make DESTDIR="$pkgdir" install || return 1
|
make DESTDIR="$pkgdir" install
|
||||||
}
|
}
|
||||||
|
|
||||||
sha512sums="564464d7a18a8e0320871ea418b1163163941c950c5acea5ee65a087e44c4d81e019e2e3e4cb6751989f823cbb7c5691713d3dcef72aeaf6ff264e61b6f7b4b4 libgweather-3.24.1.tar.xz"
|
sha512sums="46fcc8319861237f908218b223102217591d731803093727a159912cefbd82017e1e064535d785e7f4ee6d227b47aff3240a14396fb9dc06ab26343720473606 libgweather-3.26.0.tar.xz"
|
||||||
|
Loading…
Reference in New Issue
Block a user