From f95fb12254f4e7bee8db344fb37cac99b35941f1 Mon Sep 17 00:00:00 2001 From: Roberto Oliveira Date: Fri, 11 Aug 2017 22:23:07 +0000 Subject: testing/mobile-broadband-provider-info: upgrade to 20170310, modernize and add check --- testing/mobile-broadband-provider-info/APKBUILD | 34 ++++++++++--------------- 1 file changed, 13 insertions(+), 21 deletions(-) (limited to 'testing/mobile-broadband-provider-info') 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 # 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" -- cgit v1.2.3