summaryrefslogtreecommitdiff
path: root/extra/libmm-qt/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-10-13 00:50:27 -0700
committerroot <root@rshg054.dnsready.net>2013-10-13 00:50:27 -0700
commit39e9111d76d232d65ca0c43285dea5bd5d58d28e (patch)
tree0c3db28c33246728e109f38902759fa8dfc998b3 /extra/libmm-qt/PKGBUILD
parent20bff71e3bf43ce7f3621da9cee37eb6ea3c14ad (diff)
Sun Oct 13 00:49:56 PDT 2013
Diffstat (limited to 'extra/libmm-qt/PKGBUILD')
-rw-r--r--extra/libmm-qt/PKGBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/extra/libmm-qt/PKGBUILD b/extra/libmm-qt/PKGBUILD
new file mode 100644
index 000000000..d6a6c6c22
--- /dev/null
+++ b/extra/libmm-qt/PKGBUILD
@@ -0,0 +1,31 @@
+# $Id: PKGBUILD 196394 2013-10-12 17:04:01Z andrea $
+# Maintainer: Andrea Scarpino <andrea@archlinux.org>
+
+pkgname=libmm-qt
+pkgver=0.5.1
+pkgrel=1
+pkgdesc='Qt-only wrapper for ModemManager DBus API'
+arch=('i686' 'x86_64')
+url='https://projects.kde.org/projects/extragear/libs/libmm-qt'
+license=('LGPL')
+depends=('qt4')
+makedepends=('cmake')
+source=("http://download.kde.org/unstable/modemmanager-qt/${pkgver}/src/${pkgname}-${pkgver}.tar.xz")
+md5sums=('97a61c398426ea596564d1c876025d93')
+
+prepare() {
+ mkdir -p build
+}
+
+build() {
+ cd build
+ cmake ../${pkgname}-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="${pkgdir}" install
+}