aboutsummaryrefslogtreecommitdiffstats
path: root/community/libgdata/APKBUILD
blob: f20c1e06aaacfabac46efce96042d671f1e705f9 (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
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=libgdata
pkgver=0.17.9
pkgrel=1
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"
checkdepends="gsettings-desktop-schemas"
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"