summaryrefslogtreecommitdiff
path: root/extra/modemmanager/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/modemmanager/PKGBUILD')
-rw-r--r--extra/modemmanager/PKGBUILD17
1 files changed, 11 insertions, 6 deletions
diff --git a/extra/modemmanager/PKGBUILD b/extra/modemmanager/PKGBUILD
index c1b40bd2b..1259b3b7e 100644
--- a/extra/modemmanager/PKGBUILD
+++ b/extra/modemmanager/PKGBUILD
@@ -1,18 +1,19 @@
-# $Id: PKGBUILD 82759 2010-06-16 18:15:09Z ibiru $
+# $Id: PKGBUILD 122603 2011-05-04 20:10:03Z ibiru $
# Maintainer: Ionut Biru <ibiru@archlinux.org>
pkgname=modemmanager
_realname=ModemManager
-pkgver=0.4
+pkgver=0.4.996
pkgrel=1
pkgdesc="Mobile broadband modem management service"
arch=('i686' 'x86_64' 'mips64el')
url="http://cgit.freedesktop.org/ModemManager/ModemManager/"
license=('GPL2')
-depends=('dbus-glib>=0.86' 'udev>=151' 'ppp>=2.4.5')
+depends=('dbus-glib' 'udev' 'ppp')
makedepends=('intltool')
options=('!libtool')
source=(http://download.gnome.org/sources/${_realname}/0.4/${_realname}-${pkgver}.tar.bz2)
-sha256sums=('8b5415ae8597726f82e9fd09237c02b5c8af7e9f4fc4cba00f9fe183cc2c6c5f')
+optdepends=('usb_modeswitch: install if your modem shows up as a storage drive')
+sha256sums=('4e82b8ef5f5e5e737212b8d077a59ac9e1fb21b65e8df98005b2beaad265c16b')
build() {
cd "$srcdir/${_realname}-${pkgver}"
@@ -20,6 +21,10 @@ build() {
--sysconfdir=/etc \
--localstatedir=/var \
--disable-static
- make || return 1
- make DESTDIR="$pkgdir" install || return 1
+ make
+}
+
+package() {
+ cd "$srcdir/${_realname}-${pkgver}"
+ make DESTDIR="$pkgdir" install
}