summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 64e4f04a1df1b2ecda7b2efa7546b4828d558edf (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
34
35
36
37
38
39
# Maintainer: Pier Luigi Fiorini <pierluigi.fiorini@gmail.com>

pkgname=hawaii-workspace
pkgver=0.8.1
pkgrel=1
pkgdesc="Applications for the Hawaii workspace"
arch=('i686' 'x86_64' 'armv6h' 'armv7h')
url="http://hawaiios.org"
license=('GPL')
depends=('qt5-tools' 'libhawaii' 'fluid' 'polkit-qt5' 'qt5-gstreamer')
# boost is needed for qt5-gstreamer, see https://bugs.archlinux.org/task/50580
makedepends=('git' 'gdb' 'extra-cmake-modules' 'greenisland' 'boost')
conflicts=('hawaii-workspace-git')
groups=('hawaii')
options=('debug')
install=$pkgname.install
source=("https://github.com/hawaii-desktop/${pkgname}/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.xz")
sha1sums=('49e4e55aac786d178e4feab153e5afe2d88a427b')

prepare() {
	mkdir -p build
}

build() {
	cd build
	cmake ../${pkgname}-${pkgver} \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DLIB_INSTALL_DIR=lib \
		-DLIBEXEC_INSTALL_DIR=lib \
		-DQML_INSTALL_DIR=lib/qt/qml \
		-DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
		-DCMAKE_BUILD_TYPE=RelWithDebInfo
	make VERBOSE=1
}

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