# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=mobile-broadband-provider-info
pkgver=20220511
pkgrel=0
pkgdesc="Mobile broadband service provider database"
url="https://wiki.gnome.org/Projects/NetworkManager/MobileBroadband/ServiceProviders"
arch="noarch"
options="!check"  # 'Not validated yet', per the test suite.
license="CC0-1.0"
depends=""
makedepends="libxslt"
subpackages=""
source="https://download.gnome.org/sources/mobile-broadband-provider-info/$pkgver/mobile-broadband-provider-info-$pkgver.tar.xz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="7b3a9c0a2e618ef3ef0e29b947ab9f0a55f30bd738f0e976529e8f3ddbb60a738f623e718ea67fa6e6008275dbbe78ce3ed9852c005748a266f04e3dd65179a6  mobile-broadband-provider-info-20220511.tar.xz"