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



                       
        
                                     
                            


                         

                                                                            
                           
                                                                                                
 
           
                      







                             


         

                             


           

                                       


                                               
                                                                                                                                                                            
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: 
pkgname=glib-networking
pkgver=2.56.1
_maj=${pkgver%%.*}
_min=${pkgver#${_maj}.}
_min=${_min%%.*}
_ver=$_maj.$_min
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="474d3e334b901c7445a2ee38018a23bbf0a1f4f7403952bf0e1c882f5c9a518b11696d0c69695b3cb378e33e15f619414e46733172ff6564732b96f3c375003d  glib-networking-2.56.1.tar.xz"