aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2017-09-15 14:03:25 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2017-09-15 16:28:45 +0000
commit5c739281202e2304b6fbea540720c1fe1b31b9f1 (patch)
tree2433e8c5a1b3877dc16fad7e4d500f569ebeb04a
parent66d50df7271e9cd06a79176a6813a01201fa4dbd (diff)
downloadaports-5c739281202e2304b6fbea540720c1fe1b31b9f1.tar.gz
aports-5c739281202e2304b6fbea540720c1fe1b31b9f1.tar.bz2
aports-5c739281202e2304b6fbea540720c1fe1b31b9f1.tar.xz
community/libgdata: upgrade to 0.17.9
-rw-r--r--community/libgdata/APKBUILD38
1 files changed, 15 insertions, 23 deletions
diff --git a/community/libgdata/APKBUILD b/community/libgdata/APKBUILD
index 55da873828..a1b33dbf3b 100644
--- a/community/libgdata/APKBUILD
+++ b/community/libgdata/APKBUILD
@@ -1,43 +1,35 @@
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=libgdata
-pkgver=0.17.7
+pkgver=0.17.9
pkgrel=0
pkgdesc="access library for gdata"
url="http://live.gnome.org/libgdata"
arch="all"
license="LGPL"
-depends=
-depends_dev="libsoup-dev json-glib-dev liboauth-dev"
-makedepends="$depends_dev intltool uhttpmock-dev glib-dev"
-install=""
+makedepends="intltool uhttpmock-dev glib-dev
+ libsoup-dev json-glib-dev liboauth-dev"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="https://download.gnome.org/sources/libgdata/${pkgver%.*}/libgdata-${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
-}
+builddir="${srcdir}/${pkgname}-${pkgver}"
build() {
- cd "$_builddir"
+ cd "$builddir"
DATADIRNAME=share ./configure \
--prefix=/usr \
--sysconfdir=/etc \
- --disable-gnome \
- || return 1
- make || return 1
+ --disable-gnome
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
}
package() {
- cd "$_builddir"
- make DESTDIR="$pkgdir" install || return 1
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
}
-sha512sums="92ded8480262f59b6b2f8271fbb77b9b75905ca53f80a24bcf239fd06ead219ffa8af4b576b38368297c1a4f49722b3960202b8ea2b03011781d5fdfa77bbfd6 libgdata-0.17.7.tar.xz"
+sha512sums="90289309cbdc4ec6932bf385ddbfcc75c0c2f8b9ca356329298aaa37f6c3db7a16de20e5c947c16c595e43e729a664e4d6d3e2c5a60bb1e463a13d1306f374ce libgdata-0.17.9.tar.xz"