summaryrefslogtreecommitdiff
path: root/extra/libnm-qt/PKGBUILD
blob: fb085736d394871aafe213b1db49d84f7b3476b0 (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 196395 2013-10-12 17:08:13Z andrea $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>

pkgname=libnm-qt
pkgver=0.9.0
pkgrel=1
pkgdesc='Qt-only wrapper for NetworkManager DBus API'
arch=('i686' 'x86_64')
url='https://projects.kde.org/projects/extragear/libs/libnm-qt'
license=('LGPL')
depends=('libmm-qt' 'networkmanager')
makedepends=('cmake')
source=("http://download.kde.org/unstable/networkmanagement/${pkgver}/src/${pkgname}-${pkgver}.tar.xz")
sha256sums=('1afc4b21efd656b34f45692e2c40c0337ca44d7238a56b4318f3bb6fc7df6e22')

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
}