summaryrefslogtreecommitdiff
path: root/community/jreen/APKBUILD
blob: d124f2310713e41ebafa5ec42c49a9a644b14935 (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
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=jreen
pkgver=1.3.0
pkgrel=0
pkgdesc="Free and Opensource Jabber library, written in C++ using cross-platform framework Qt."
url="http://qutim.org/jreen"
arch="all"
license="GPL2"
depends=""
depends_dev="qt-dev speex-dev libgsasl-dev"
makedepends="$depends_dev cmake"
subpackages="$pkgname-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/euroelessar/jreen/archive/v$pkgver.tar.gz"

builddir="$srcdir"/$pkgname-$pkgver
build() {
	mkdir -p "$builddir"/build
	cd "$builddir"/build
	cmake "$builddir" \
		-DCMAKE_BUILD_TYPE=Release \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=lib
	make
}

package() {
	cd "$builddir"/build
	make DESTDIR="$pkgdir" install
}

sha512sums="7b8267aa7d0e18c28dfeb6a1c7c0495d87bd2712fe10a0c6283f0cf89b72d2c67f98f97a812c9f34496af43eb00ddd94b7e60e942634fb03d0119f94a3d08464  jreen-1.3.0.tar.gz"