summaryrefslogtreecommitdiff
path: root/extra/libqmi/PKGBUILD
blob: d3a6d6fd45125e4c54fdc05a9c746cf98f6f0eba (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
# $Id: PKGBUILD 183435 2013-04-21 22:11:28Z heftig $
# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>

pkgname=libqmi
pkgver=1.2.0
pkgrel=2
pkgdesc="QMI modem protocol helper library"
arch=(i686 x86_64 mips64el)
url="http://cgit.freedesktop.org/libqmi"
license=(GPL2)
depends=(glib2 bash)
makedepends=(gtk-doc python)
options=('!libtool')
source=($url/snapshot/$pkgname-$pkgver.tar.xz)
sha256sums=('4c0fe5fedd33dffd60d845c571243a2f25834019c159377d8df2c7cf5ff3a515')

build() {
  cd $pkgname-$pkgver
  ./autogen.sh --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
    --disable-static
  make
}

check() {
  cd $pkgname-$pkgver
  make check
}

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