summaryrefslogtreecommitdiff
path: root/user/libsoup/APKBUILD
blob: 27dde65adaf4f916c28221b261e08d1f613247be (plain) (blame)
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
# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
pkgname=libsoup
pkgver=2.66.0
pkgrel=0
pkgdesc="GObject-based HTTP library"
url="https://wiki.gnome.org/Projects/libsoup"
arch="all"
license="LGPL-2.0+ AND LGPL-2.1+"
makedepends="glib-dev libxml2-dev sqlite-dev libpsl-dev intltool vala-dev
	gobject-introspection-dev glib-networking meson ninja krb5-dev"
subpackages="$pkgname-dev $pkgname-lang"
source="https://download.gnome.org/sources/libsoup/${pkgver%.*}/libsoup-$pkgver.tar.xz"

build() {
	mkdir -p "$builddir"/build
	cd "$builddir"/build
	meson -Dprefix=/usr ..
	ninja
}

check() {
	cd "$builddir"/build
	ninja test
}

package() {
	cd "$builddir"/build
	DESTDIR="$pkgdir" ninja install
}

sha512sums="a79d4dafbf12a3345803b38859a398839e3e9e389552c90bab60b005ffa7e4ce2f43112e322ca10f134ab6e6c53568e058c82c370617e872539e1fafd82a1352  libsoup-2.66.0.tar.xz"