summaryrefslogtreecommitdiff
path: root/user/glib-networking/APKBUILD
blob: 365b7e90620aaf0d88d26a795b2ad4c35a13d7a6 (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
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: 
pkgname=glib-networking
pkgver=2.62.0
_ver=${pkgver%.*}
pkgrel=0
pkgdesc="Networking support for GLib"
url="https://www.gnome.org/"
arch="all"
license="LGPL-2.1+"
depends="ca-certificates"
makedepends="bash glib-dev gnutls-dev gsettings-desktop-schemas-dev intltool
	libgcrypt-dev libproxy-dev meson ninja p11-kit-dev"
subpackages="$pkgname-lang"
source="https://download.gnome.org/sources/glib-networking/$_ver/glib-networking-$pkgver.tar.xz"

build() {
	meson -Dprefix=/usr _build
	ninja -C _build
}

check() {
	ninja -C _build test
}

package() {
	DESTDIR="$pkgdir" ninja -C _build install
	rm -f "$pkgdir"/usr/lib/gio/modules/*.a
}

sha512sums="2b9b0414baba307d35f8f6539fcbf0cf224da1970c532b130718deeeaa85f5601b8285ce822888273afed7fa643b62310bf306bbfa22f465134af345f3cd0e9d  glib-networking-2.62.0.tar.xz"