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

Maxime Gauduin alucryd at archlinux.org
Sun Aug 26 13:53:01 UTC 2018


    Date: Sunday, August 26, 2018 @ 13:53:00
  Author: alucryd
Revision: 374260

upgpkg: lib32-libqmi 1.20.2-1

Modified:
  lib32-libqmi/trunk/PKGBUILD

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

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



More information about the arch-commits mailing list