core/libmbim/PKGBUILD
2017-10-23 00:10:01 +02:00

42 lines
868 B
Bash

# Contributor: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
pkgname=libmbim
pkgver=1.14.2
pkgrel=1
pkgdesc="MBIM modem protocol helper library"
arch=(x86_64)
url="http://www.freedesktop.org/wiki/Software/libmbim/"
license=(GPL2)
depends=(glib2 bash systemd libgudev)
makedepends=(gtk-doc python git)
_commit=6398b0d10e27b51ff05fda33dd4b9ddd5bf64bae # tags/1.14.2
source=("git://anongit.freedesktop.org/libmbim/libmbim#commit=$_commit")
sha256sums=('SKIP')
pkgver() {
cd $pkgname
git describe --tags | sed 's/-/+/g'
}
prepare() {
cd $pkgname
NOCONFIGURE=1 ./autogen.sh
}
build() {
cd $pkgname
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
--libexecdir=/usr/lib/$pkgname --disable-static --enable-gtk-doc
make
}
check() {
cd $pkgname
make check
}
package() {
cd $pkgname
make DESTDIR="$pkgdir" install
}