summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1f102baf5c74eee226896e42c628bb2f81ceb1df (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
32
33
# Maintainer: Lara Maia <lara@craft.net.br>
# Contributor: Rob McCathie <archaur at rmcc dot com dot au>

pkgname=qconnman-git
pkgver=1.24
pkgrel=1
epoch=4
pkgdesc="QConnman Library (Qt)"
arch=('i686' 'x86_64')
url="https://bitbucket.org/OSSystems/qconnman"
license=('LGPL')
depends=('connman' 'qt4')
makedepends=('git')
conflicts=("qconnman")
provides=("qconnman=$pkgver")
source=(git+https://bitbucket.org/devonit/qconnman.git)
md5sums=('SKIP')

pkgver() {
  cd "$srcdir"/qconnman
  git describe | sed 's/^v//; s/-/.r/; s/-/./'
}

build() {
  cd "$srcdir"/qconnman
  qmake-qt4 PREFIX=/usr
  make
}

package() {
  cd "$srcdir"/qconnman
  make INSTALL_ROOT="$pkgdir" install
}