aboutsummaryrefslogtreecommitdiffstats
path: root/community/mobile-broadband-provider-info/APKBUILD
blob: ad457a260de86baf1fb3e2aa5e170f3dd2619463 (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
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=mobile-broadband-provider-info
pkgver=20190116
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"
	./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="82cbf2c4523bc941d7cbfb1f552057d8259fcccbf95d02a6d43d315136050928ae5a8cf85f9900196214b803bb087446e28254d148af6b004225518f07aa9d23  mobile-broadband-provider-info-20190116.tar.xz"