summaryrefslogblamecommitdiff
path: root/user/libsoup/APKBUILD
blob: ddcf75515132c92a9eeba23da2d334b46443fe9d (plain) (tree)
1
2
3
4
5
6
7
8
9
10


                                                           
             



                                             

                                                                         


                                                                                       

         



                                  


         

                            


           

                                       

 
                                                                                                                                                                    
# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
pkgname=libsoup
pkgver=2.66.1
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="bb9c15cae965606d5f7c009fab9223445235982269d23ff20e89249b10d3423797427e7cff39c31a3f5db99b0c2d7a01eb911edb61309603cdeb8f2467fe6039  libsoup-2.66.1.tar.xz"