aboutsummaryrefslogtreecommitdiffstats
path: root/testing/mobile-broadband-provider-info/APKBUILD
blob: 5e2f13223301c4c738c30a828752b8eeed4e8c29 (plain)
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:
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"