blob: 72fc2c5a6c0d1276975b972f4e1d9944fe2ddd6e (
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
|
# $Id: PKGBUILD 191191 2013-07-19 12:16:04Z heftig $
# Maintainer: Ionut Biru <ibiru@archlinux.org>
# Contributor: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
pkgname=modemmanager
_realname=ModemManager
pkgver=1.0.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)
optdepends=('usb_modeswitch: install if your modem shows up as a storage drive')
options=('!libtool')
install=modemmanager.install
source=(http://www.freedesktop.org/software/$_realname/$_realname-$pkgver.tar.xz)
sha256sums=('e0f3bbd9a7353f7d87be2391b8718a81d11f9ff8b1c067d640928322f8808563')
build() {
cd $_realname-$pkgver
./configure --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--sbindir=/usr/bin \
--with-udev-base-dir=/usr/lib/udev \
--disable-static \
--with-polkit=permissive
make
}
package() {
cd $_realname-$pkgver
make DESTDIR="$pkgdir" install
}
|