summaryrefslogtreecommitdiff
path: root/extra/libqmi/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/libqmi/PKGBUILD')
-rw-r--r--extra/libqmi/PKGBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/extra/libqmi/PKGBUILD b/extra/libqmi/PKGBUILD
new file mode 100644
index 000000000..814032292
--- /dev/null
+++ b/extra/libqmi/PKGBUILD
@@ -0,0 +1,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)
+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
+}