mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-11 11:04:37 +08:00
42 lines
873 B
Bash
42 lines
873 B
Bash
# Contributor: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
|
|
|
|
pkgname=libmbim
|
|
pkgver=1.14.0
|
|
pkgrel=1
|
|
pkgdesc="MBIM modem protocol helper library"
|
|
arch=(i686 x86_64)
|
|
url="http://www.freedesktop.org/wiki/Software/libmbim/"
|
|
license=(GPL2)
|
|
depends=(glib2 bash systemd libgudev)
|
|
makedepends=(gtk-doc python git)
|
|
_commit=50cddf48823f05ec124afad80c0d948184e19b00 # tags/1.14.0
|
|
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
|
|
}
|