# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer:
pkgname=mobile-broadband-provider-info
pkgver=20170310
pkgrel=0
pkgdesc="Mobile broadband settings for various service providers"
url="https://git.gnome.org/browse/mobile-broadband-provider-info/"
arch="noarch"
license="custom"
makedepends="autoconf automake libxml2-utils"
subpackages="$pkgname-doc"
source="https://git.gnome.org/browse/$pkgname/snapshot/$pkgname-$pkgver.tar.xz"

builddir="$srcdir"/$pkgname-$pkgver

build() {
	cd "$builddir"
	./autogen.sh
	./configure --prefix=/usr
	make
}

check() {
	cd "$builddir"
	make check
}

package() {
	cd "$builddir"
	make DESTDIR="${pkgdir}" install
	install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}

sha512sums="47c40cdd0979bee17f2cc92a8ea01f340709f7fffee13d522dac625b305e2f51b6b45422bb6491ca8fefd561a9d713e10c689caa3f9f7bd6c3048762398eda15  mobile-broadband-provider-info-20170310.tar.xz"
