aboutsummaryrefslogtreecommitdiffstats
path: root/community/libgdata/APKBUILD
blob: a1b33dbf3b6bcd999e02b92b9cb4c0f2dc3a2fc8 (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
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=libgdata
pkgver=0.17.9
pkgrel=0
pkgdesc="access library for gdata"
url="http://live.gnome.org/libgdata"
arch="all"
license="LGPL"
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}"

build() {
	cd "$builddir"
	DATADIRNAME=share ./configure \
		--prefix=/usr \
		--sysconfdir=/etc \
		--disable-gnome
	make
}

check() {
	cd "$builddir"
	make check
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="90289309cbdc4ec6932bf385ddbfcc75c0c2f8b9ca356329298aaa37f6c3db7a16de20e5c947c16c595e43e729a664e4d6d3e2c5a60bb1e463a13d1306f374ce  libgdata-0.17.9.tar.xz"