Date: Monday, March 10, 2014 @ 23:27:46
  Author: heftig
Revision: 207486

Move mm-glib.pc where it belongs

Modified:
  modemmanager/trunk/PKGBUILD

----------+
 PKGBUILD |    7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2014-03-10 22:15:00 UTC (rev 207485)
+++ PKGBUILD    2014-03-10 22:27:46 UTC (rev 207486)
@@ -5,7 +5,7 @@
 pkgbase=modemmanager
 pkgname=(modemmanager libmm-glib)
 pkgver=1.2.0
-pkgrel=2
+pkgrel=3
 pkgdesc="Mobile broadband modem management service"
 arch=(i686 x86_64)
 url="http://www.freedesktop.org/wiki/Software/ModemManager/";
@@ -31,11 +31,14 @@
 package_modemmanager() {
   depends+=(libmm-glib)
   optdepends=('usb_modeswitch: install if your modem shows up as a storage 
drive')
+  options=(!emptydirs)
 
   cd ModemManager-$pkgver
   make DESTDIR="$pkgdir" install
   make DESTDIR="$pkgdir" -C libmm-glib uninstall
   make DESTDIR="$pkgdir" -C vapi uninstall
+
+  mv -f "$pkgdir/usr/lib/pkgconfig/mm-glib.pc" ..
 }
 
 package_libmm-glib() {
@@ -45,4 +48,6 @@
   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"
 }

Reply via email to