mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 04:16:46 +02:00
testing/mobile-broadband-provider-info: upgrade to 20170310, modernize and add check
This commit is contained in:
parent
663f3b437f
commit
f95fb12254
@ -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"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user