summaryrefslogtreecommitdiff
path: root/extra/libmm-qt/PKGBUILD
blob: 8a92de4fb4d729200d162620305ab28da9be3386 (plain)
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
# $Id: PKGBUILD 200035 2013-11-21 23:29:06Z andrea $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>

pkgname=libmm-qt
pkgver=1.0.0
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' 'modemmanager')
makedepends=('cmake' 'doxygen')
source=("http://download.kde.org/unstable/modemmanager-qt/${pkgver}/src/${pkgname}-${pkgver}.tar.xz")
md5sums=('421dc7ebe8439fabc9d24da46ca0cfa7')

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
}