aboutsummaryrefslogtreecommitdiffstats
path: root/community/mobile-broadband-provider-info/APKBUILD
blob: b82703d325fd751f52e464866db923802c7e29d1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
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://download.gnome.org/sources/mobile-broadband-provider-info/$pkgver/mobile-broadband-provider-info-$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"