aboutsummaryrefslogtreecommitdiffstats
path: root/testing/mobile-broadband-provider-info/APKBUILD
blob: f89e952488addb0c2331d74eb14f873e639a1da2 (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
35
36
37
38
39
40
41
42
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer:
pkgname=mobile-broadband-provider-info
pkgver=20120614
pkgrel=0
pkgdesc="Mobile broadband settings for various service providers"
url="https://git.gnome.org/browse/mobile-broadband-provider-info/"
arch="noarch"
license="custom"
depends=""
depends_dev=""
makedepends="$depends_dev autoconf automake"
install=""
subpackages="$pkgname-doc"
source="https://git.gnome.org/browse/$pkgname/snapshot/$pkgname-$pkgver.tar.xz"
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
	local i
	cd "$_builddir"
	for i in $source; do
		case $i in
		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
		esac
	done
}

build() {
	cd "$_builddir"
	./autogen.sh
	./configure --prefix=/usr
	make || return 1
}

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

md5sums="5431cb495272fc92c1e4b393ce1f0008  mobile-broadband-provider-info-20120614.tar.xz"
sha256sums="cc376f22853525c0ed01bf5f196d56f4579b7af9846610bfb369200ad0f4d357  mobile-broadband-provider-info-20120614.tar.xz"
sha512sums="3557701254cdb47f7e7ab148dcc6d836a3894dd72103019680b785965b67ae8ad73b21fc024f1feaefe43e7d704093b614fe86c08098fadc65cf9bf172a45629  mobile-broadband-provider-info-20120614.tar.xz"