aboutsummaryrefslogtreecommitdiffstats
path: root/testing/mobile-broadband-provider-info
diff options
context:
space:
mode:
authorRoberto Oliveira <robertoguimaraes8@gmail.com>2017-08-11 22:23:07 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2017-08-24 22:55:40 +0000
commitf95fb12254f4e7bee8db344fb37cac99b35941f1 (patch)
treecd002d30c949002edc10c0c7f6dd9146a02cc0b2 /testing/mobile-broadband-provider-info
parent663f3b437f159561b47030b37ec987a297cf9eed (diff)
downloadaports-f95fb12254f4e7bee8db344fb37cac99b35941f1.tar.bz2
aports-f95fb12254f4e7bee8db344fb37cac99b35941f1.tar.xz
testing/mobile-broadband-provider-info: upgrade to 20170310, modernize and add check
Diffstat (limited to 'testing/mobile-broadband-provider-info')
-rw-r--r--testing/mobile-broadband-provider-info/APKBUILD34
1 files changed, 13 insertions, 21 deletions
diff --git a/testing/mobile-broadband-provider-info/APKBUILD b/testing/mobile-broadband-provider-info/APKBUILD
index f9f08180ab..5e2f132233 100644
--- a/testing/mobile-broadband-provider-info/APKBUILD
+++ b/testing/mobile-broadband-provider-info/APKBUILD
@@ -1,42 +1,34 @@
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer:
pkgname=mobile-broadband-provider-info
-pkgver=20151214
+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"
-depends=""
-depends_dev=""
-makedepends="$depends_dev autoconf automake"
-install=""
+makedepends="autoconf automake libxml2-utils"
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
-}
+
+builddir="$srcdir"/$pkgname-$pkgver
build() {
- cd "$_builddir"
+ cd "$builddir"
./autogen.sh
./configure --prefix=/usr
- make || return 1
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
}
package() {
- cd "$_builddir"
+ cd "$builddir"
make DESTDIR="${pkgdir}" install
install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
-md5sums="9144ea03166e963dbb6f351d52e44dce mobile-broadband-provider-info-20151214.tar.xz"
-sha256sums="30d757ad94f7ea8182d6c101ebec1cf3949917faedcf711e60489ae9b1761338 mobile-broadband-provider-info-20151214.tar.xz"
-sha512sums="5b1f7eb61cc542a3d41bc50a1d30244e019299964de8ab78dc9760d55e6fea33ec78fc76828b8212b91c940536c9d7e77d6405ca709fd5fc03bf8ea6059775ea mobile-broadband-provider-info-20151214.tar.xz"
+sha512sums="47c40cdd0979bee17f2cc92a8ea01f340709f7fffee13d522dac625b305e2f51b6b45422bb6491ca8fefd561a9d713e10c689caa3f9f7bd6c3048762398eda15 mobile-broadband-provider-info-20170310.tar.xz"