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


                         

                                                                            
                           
                                                                                                
 
         

                                  


         
                            


           
                                                 


                                               
                                                                                                                                                                            
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: 
pkgname=glib-networking
pkgver=2.62.1
_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="6f9064d42d28b674dea0fb4ffcc954210aae92b7fcb7bcaae7a28a600b4a8782aed9077e61dd2a55ff0a8ade060c9a5556ba2e3bd2e697521f8d80bfdd241195  glib-networking-2.62.1.tar.xz"