aboutsummaryrefslogtreecommitdiffstats
path: root/community/libmbim/APKBUILD
blob: c5feb15ae2aa0f70ea37c126bddb5ba163590515 (plain) (blame)
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
# Contributor: Stuart Cardall <developer@it-offshore.co.uk>
# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
pkgname=libmbim
pkgver=1.14.0
pkgrel=0
pkgdesc="MBIM modem protocol helper library"
url="http://www.freedesktop.org/wiki/Software/libmbim"
arch="all"
license="GPL2"
makedepends="$depends_dev gtk-doc python2 glib-dev py-gobject libgudev-dev"
subpackages="$pkgname-dev $pkgname-doc"
source="https://www.freedesktop.org/software/$pkgname/$pkgname-$pkgver.tar.xz"
builddir="$srcdir"/$pkgname-$pkgver

build() {
	cd "$builddir"
	./configure \
		--prefix=/usr \
		--sysconfdir=/etc \
		--localstatedir=/var \
		--disable-static \
	|| return 1
	make || return 1
	make check || return 1
}

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

md5sums="2ed809e65c85353d3ab59e372890e549  libmbim-1.14.0.tar.xz"
sha256sums="ca8d52a95a18cbabae8f15f83f1572316e888b6504f946e6645d24405127ab5b  libmbim-1.14.0.tar.xz"
sha512sums="a9b1ba59828fd1c8cf39705717c56e3b75f34d6b3b9cd9f8be40fe245c07f4ea4d211727322c8b3c6d92f004c670e2fe6de76a3117e38b1e8de6673cfb6168bd  libmbim-1.14.0.tar.xz"