mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-18 06:12:35 +01:00
46 lines
1.3 KiB
Plaintext
46 lines
1.3 KiB
Plaintext
# Contributor: William Pitcock <nenolod@dereferenced.org>
|
|
# Maintainer: William Pitcock <nenolod@dereferenced.org>
|
|
pkgname=libgdata
|
|
pkgver=0.17.5
|
|
pkgrel=0
|
|
pkgdesc="access library for gdata"
|
|
url="http://live.gnome.org/libgdata"
|
|
arch="all"
|
|
license="LGPL"
|
|
depends=
|
|
depends_dev="glib-dev libsoup-dev json-glib-dev liboauth-dev"
|
|
makedepends="$depends_dev intltool uhttpmock-dev"
|
|
install=""
|
|
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
|
|
}
|
|
|
|
build() {
|
|
cd "$_builddir"
|
|
DATADIRNAME=share ./configure \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--disable-gnome \
|
|
|| return 1
|
|
make || return 1
|
|
}
|
|
|
|
package() {
|
|
cd "$_builddir"
|
|
make DESTDIR="$pkgdir" install || return 1
|
|
}
|
|
|
|
md5sums="3a1506d2bbdd68a98378312953a02b06 libgdata-0.17.5.tar.xz"
|
|
sha256sums="b3fbdae075aa0d83897ae0e9daf3c29075dce1724c8b8a27e0735688756355e8 libgdata-0.17.5.tar.xz"
|
|
sha512sums="d8c4eee9f720fa0bc02f0d6e001619aac85d9af51d86e2130158ae662c029a0b1ec2bb1d3683196983b3561b439d520b305c37ea44320157bf4f1c9ea65f3b71 libgdata-0.17.5.tar.xz"
|