[arch-commits] Commit in lib32-libmbim/trunk (PKGBUILD)

Maxime Gauduin alucryd at archlinux.org
Sun Aug 26 13:46:37 UTC 2018


    Date: Sunday, August 26, 2018 @ 13:46:37
  Author: alucryd
Revision: 374247

upgpkg: lib32-libmbim 1.16.2-1

Modified:
  lib32-libmbim/trunk/PKGBUILD

----------+
 PKGBUILD |   20 ++++++++++++--------
 1 file changed, 12 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-08-26 13:44:40 UTC (rev 374246)
+++ PKGBUILD	2018-08-26 13:46:37 UTC (rev 374247)
@@ -3,7 +3,7 @@
 # Contributor: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
 
 pkgname=lib32-libmbim
-pkgver=1.16.0
+pkgver=1.16.2
 pkgrel=1
 pkgdesc='MBIM modem protocol helper library'
 arch=('x86_64')
@@ -10,12 +10,18 @@
 url='https://www.freedesktop.org/wiki/Software/libmbim/'
 license=('GPL2')
 depends=('lib32-glib2' 'lib32-glibc' 'lib32-libgudev' 'libmbim')
-makedepends=('gcc-multilib' 'python')
-source=("https://www.freedesktop.org/software/libmbim/libmbim-${pkgver}.tar.xz")
-sha256sums=('c8ca50beeddd4b43309df5b698917268303bf176cea58fe4fe53d5bf0e93fac2')
+makedepends=('git' 'python')
+source=("git+https://gitlab.freedesktop.org/mobile-broadband/libmbim.git#tag=${pkgver}")
+sha256sums=('SKIP')
 
+prepare() {
+  cd libmbim
+
+  NOCONFIGURE=1 ./autogen.sh
+}
+
 build() {
-  cd libmbim-${pkgver}
+  cd libmbim
 
   export CC='gcc -m32'
   export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
@@ -32,9 +38,7 @@
 }
 
 package() {
-  cd libmbim-${pkgver}
-
-  make DESTDIR="${pkgdir}" install
+  make DESTDIR="${pkgdir}" -C libmbim install
   rm -rf "${pkgdir}"/usr/{bin,include,share}
 }
 



More information about the arch-commits mailing list