summaryrefslogtreecommitdiff
path: root/extra/modemmanager/PKGBUILD
blob: 493f63cbf6a0cb0aaa22414201224cd681307b7a (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
32
33
34
35
36
37
# $Id: PKGBUILD 187065 2013-06-03 11:16:44Z allan $
# Maintainer: Ionut Biru <ibiru@archlinux.org>
# Contributor: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>

pkgname=modemmanager
_realname=ModemManager
pkgver=0.7.990
pkgrel=5
pkgdesc="Mobile broadband modem management service"
arch=(i686 x86_64)
url="http://cgit.freedesktop.org/ModemManager/ModemManager/"
license=(GPL2)
depends=(udev ppp libqmi libmbim polkit hicolor-icon-theme)
makedepends=(intltool git gtk-doc)
optdepends=('usb_modeswitch: install if your modem shows up as a storage drive')
options=('!libtool')
install=modemmanager.install
#source=(http://download.gnome.org/sources/$_realname/${pkgver::3}/$_realname-$pkgver.tar.xz)
source=("git://anongit.freedesktop.org/$_realname/$_realname#commit=67d3ed1")
sha256sums=('SKIP')

build() {
  cd $_realname
   ./autogen.sh --prefix=/usr \
        --sysconfdir=/etc \
        --localstatedir=/var \
        --sbindir=/usr/bin \
        --with-udev-base-dir=/usr/lib/udev \
        --disable-static \
        --with-polkit
  make
}

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