Date: Friday, March 10, 2017 @ 15:33:40 Author: heftig Revision: 290496
archrelease: copy trunk to extra-any Added: mobile-broadband-provider-info/repos/extra-any/PKGBUILD (from rev 290495, mobile-broadband-provider-info/trunk/PKGBUILD) Deleted: mobile-broadband-provider-info/repos/extra-any/PKGBUILD ----------+ PKGBUILD | 66 ++++++++++++++++++++++++++++++++++++++----------------------- 1 file changed, 42 insertions(+), 24 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2017-03-10 15:32:49 UTC (rev 290495) +++ PKGBUILD 2017-03-10 15:33:40 UTC (rev 290496) @@ -1,24 +0,0 @@ -# $Id$ -# Maintainer: Jan de Groot <j...@archlinxu.org> - -pkgname=mobile-broadband-provider-info -pkgver=20151214 -pkgrel=1 -pkgdesc="Network Management daemon" -arch=('any') -license=('custom') -url="http://git.gnome.org/browse/mobile-broadband-provider-info/" -source=(http://download.gnome.org/sources/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.xz) -sha256sums=('8ae45d6f10fed9750e259935804c4f40a4372bb119f0504187e4221896b205a4') - -build() { - cd "${srcdir}/${pkgname}-${pkgver}" - ./configure --prefix=/usr - make -} - -package() { - cd "${srcdir}/${pkgname}-${pkgver}" - make DESTDIR="${pkgdir}" install - install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" -} Copied: mobile-broadband-provider-info/repos/extra-any/PKGBUILD (from rev 290495, mobile-broadband-provider-info/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2017-03-10 15:33:40 UTC (rev 290496) @@ -0,0 +1,42 @@ +# $Id$ +# Maintainer: Jan de Groot <j...@archlinxu.org> + +pkgname=mobile-broadband-provider-info +pkgver=20170310 +pkgrel=1 +pkgdesc="Network Management daemon" +arch=(any) +license=(custom) +url="https://git.gnome.org/browse/mobile-broadband-provider-info" +makedepends=(git) +checkdepends=(libxml2) +_commit=befcbbc9867e742ac16415660b0b7521218a530c # tags/20170310^0 +source=("git+https://git.gnome.org/browse/mobile-broadband-provider-info#commit=$_commit") +sha256sums=('SKIP') + +pkgver() { + cd $pkgname + git describe --tags | sed 's/-/+/g' +} + +prepare() { + cd $pkgname + NOCONFIGURE=1 ./autogen.sh +} + +check() { + cd $pkgname + make check +} + +build() { + cd $pkgname + ./configure --prefix=/usr + make +} + +package() { + cd $pkgname + make DESTDIR="$pkgdir" install + install -D -m644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +}