summaryrefslogblamecommitdiff
path: root/user/glib-networking/APKBUILD
blob: 8cb1a801987f7caad44f06b95bba8ebfde63bb6c (plain) (tree)
1
2
3
4
5
6
7
8
                                                    
              
                       

             
        
                                     
                            


                         

                                                                            
                           
                                                                                                
 
           
                      







                             


         

                             


           

                                       


                                               
                                                                                                                                                                            
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: 
pkgname=glib-networking
pkgver=2.58.0
_ver=2.58
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"

prepare() {
	cd "$builddir"
	default_prepare
	mkdir -p _build
}

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

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

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

sha512sums="d9cfd97ef9905eceb1f807a7d18c648fcf148214bf3fc55c718c5bcd6fb0afc429ab5b7bf72e83cf959d5ce7f145ce17952c1288d4225cc99d3c6ad66e4494ff  glib-networking-2.58.0.tar.xz"