summaryrefslogtreecommitdiff
path: root/extra/modemmanager/PKGBUILD
blob: ec76e7e3a53545bbd921d7936005df08dfb806c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# $Id: PKGBUILD 157746 2012-04-29 05:53:55Z allan $
# Maintainer: Ionut Biru <ibiru@archlinux.org>
pkgname=modemmanager
_realname=ModemManager
pkgver=0.5.2.0
pkgrel=2
pkgdesc="Mobile broadband modem management service"
arch=('i686' 'x86_64')
url="http://cgit.freedesktop.org/ModemManager/ModemManager/"
license=('GPL2')
depends=('dbus-glib' 'udev' 'ppp')
makedepends=('intltool')
options=('!libtool')
source=(http://download.gnome.org/sources/$_realname/0.5/$_realname-$pkgver.tar.xz)
optdepends=('usb_modeswitch: install if your modem shows up as a storage drive')
sha256sums=('7f8b3e1996a24e031df7534e226a0f0c7c2dd8b30322e6c5f4611dc1a848e6c8')

build() {
  cd "$_realname-$pkgver"
   ./configure --prefix=/usr \
   	--sysconfdir=/etc \
	--localstatedir=/var \
	--with-udev-base-dir=/usr/lib/udev \
	--disable-static
  make
}

package() {
  cd "$_realname-$pkgver"
  make DESTDIR="$pkgdir" install
}