[arch-commits] Commit in mobile-broadband-provider-info/repos (2 files)

Felix Yan felixonmars at archlinux.org
Fri Nov 9 21:19:22 UTC 2018


    Date: Friday, November 9, 2018 @ 21:19:21
  Author: felixonmars
Revision: 338554

archrelease: copy trunk to staging-any

Added:
  mobile-broadband-provider-info/repos/staging-any/
  mobile-broadband-provider-info/repos/staging-any/PKGBUILD
    (from rev 338553, mobile-broadband-provider-info/trunk/PKGBUILD)

----------+
 PKGBUILD |   41 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)

Copied: mobile-broadband-provider-info/repos/staging-any/PKGBUILD (from rev 338553, mobile-broadband-provider-info/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD	                        (rev 0)
+++ staging-any/PKGBUILD	2018-11-09 21:19:21 UTC (rev 338554)
@@ -0,0 +1,41 @@
+# Maintainer: Jan de Groot <jgc at archlinxu.org>
+
+pkgname=mobile-broadband-provider-info
+pkgver=20170310
+pkgrel=2
+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"
+}


More information about the arch-commits mailing list