Date: Wednesday, February 5, 2014 @ 17:06:45 Author: heftig Revision: 205457
1.2.0; split out lib; ignore icon Modified: modemmanager/trunk/PKGBUILD Deleted: modemmanager/trunk/modemmanager.install ----------------------+ PKGBUILD | 41 +++++++++++++++++++++++++++-------------- modemmanager.install | 13 ------------- 2 files changed, 27 insertions(+), 27 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2014-02-05 15:22:56 UTC (rev 205456) +++ PKGBUILD 2014-02-05 16:06:45 UTC (rev 205457) @@ -2,34 +2,47 @@ # Maintainer: Ionut Biru <ib...@archlinux.org> # Contributor: Jan Alexander Steffens (heftig) <jan.steff...@gmail.com> -pkgname=modemmanager -_realname=ModemManager -pkgver=1.0.0 -pkgrel=2 +pkgbase=ModemManager +pkgname=(modemmanager libmm-glib) +pkgver=1.2.0 +pkgrel=1 pkgdesc="Mobile broadband modem management service" arch=(i686 x86_64) url="http://www.freedesktop.org/wiki/Software/ModemManager/" license=(GPL2) -depends=(udev ppp libqmi libmbim polkit hicolor-icon-theme) -makedepends=(intltool gtk-doc) +depends=(systemd polkit ppp libqmi libmbim) +makedepends=(intltool gtk-doc gobject-introspection vala) optdepends=('usb_modeswitch: install if your modem shows up as a storage drive') -install=modemmanager.install -source=(http://www.freedesktop.org/software/$_realname/$_realname-$pkgver.tar.xz) -sha256sums=('e0f3bbd9a7353f7d87be2391b8718a81d11f9ff8b1c067d640928322f8808563') +source=(http://www.freedesktop.org/software/$pkgbase/$pkgbase-$pkgver.tar.xz) +sha256sums=('8bd9d8c3b506f34a9f927e95784026d1fe132c9d60fc426a892b690f7d6408bc') build() { - cd $_realname-$pkgver + cd $pkgbase-$pkgver ./configure --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --sbindir=/usr/bin \ --with-udev-base-dir=/usr/lib/udev \ - --disable-static \ - --with-polkit=permissive + --with-polkit=permissive \ + --enable-gtk-doc \ + --disable-static make } -package() { - cd $_realname-$pkgver +package_modemmanager() { + depends+=(libmm-glib) + + cd $pkgbase-$pkgver make DESTDIR="$pkgdir" install + make DESTDIR="$pkgdir" -C libmm-glib uninstall + make DESTDIR="$pkgdir" -C vapi uninstall } + +package_libmm-glib() { + pkgdesc="ModemManager library" + depends=(glib2) + + cd $pkgbase-$pkgver + make DESTDIR="$pkgdir" -C libmm-glib install + make DESTDIR="$pkgdir" -C vapi install +} Deleted: modemmanager.install =================================================================== --- modemmanager.install 2014-02-05 15:22:56 UTC (rev 205456) +++ modemmanager.install 2014-02-05 16:06:45 UTC (rev 205457) @@ -1,13 +0,0 @@ -post_install() { - if type -P gtk-update-icon-cache &>/dev/null; then - gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor - fi -} - -post_upgrade() { - post_install -} - -post_remove() { - post_install -}