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

Jan Steffens heftig at nymeria.archlinux.org
Sat Jun 7 21:01:45 UTC 2014


    Date: Saturday, June 7, 2014 @ 23:01:45
  Author: heftig
Revision: 214365

Move over more includes and a pkgconfig file

Modified:
  modemmanager/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-06-07 20:54:18 UTC (rev 214364)
+++ PKGBUILD	2014-06-07 21:01:45 UTC (rev 214365)
@@ -5,7 +5,7 @@
 pkgbase=modemmanager
 pkgname=(modemmanager libmm-glib)
 pkgver=1.2.0
-pkgrel=3
+pkgrel=4
 pkgdesc="Mobile broadband modem management service"
 arch=(i686 x86_64)
 url="http://www.freedesktop.org/wiki/Software/ModemManager/"
@@ -38,7 +38,9 @@
   make DESTDIR="$pkgdir" -C libmm-glib uninstall
   make DESTDIR="$pkgdir" -C vapi uninstall
 
-  mv -f "$pkgdir/usr/lib/pkgconfig/mm-glib.pc" ..
+  # Some stuff to move is left over
+  mv "$pkgdir/usr/include" ..
+  mv "$pkgdir/usr/lib/pkgconfig" ..
 }
 
 package_libmm-glib() {
@@ -45,9 +47,11 @@
   pkgdesc="ModemManager library"
   depends=(glib2)
 
+  install -d "$pkgdir/usr/lib"
+  mv include "$pkgdir/usr"
+  mv pkgconfig "$pkgdir/usr/lib"
+
   cd ModemManager-$pkgver
   make DESTDIR="$pkgdir" -C libmm-glib install
   make DESTDIR="$pkgdir" -C vapi install
-
-  install -Dm644  ../mm-glib.pc "$pkgdir/usr/lib/pkgconfig/mm-glib.pc"
 }




More information about the arch-commits mailing list