summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3d7af0aa3f2c2aed672353c72002b591e7449d62 (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
40
# Maintainer: Pier Luigi Fiorini <pierluigi.fiorini@gmail.com>

pkgname=hawaii-system-preferences
pkgver=0.5.0
pkgrel=1
pkgdesc="Hawaii system preferences"
arch=('i686' 'x86_64' 'armv6h' 'armv7h')
url="http://hawaiios.org"
license=('GPL')
depends=('qt5-base' 'qt5-declarative' 'xkeyboard-config' 'hawaii-shell')
conflicts=('hawaii-system-preferences')
replaces=('hawaii-system-preferences')
provides=('hawaii-system-preferences')
makedepends=('extra-cmake-modules' 'qt5-tools')
conflicts=('hawaii-system-preferences-git')
groups=('hawaii')
options=('debug')
source=("https://github.com/hawaii-desktop/hawaii-system-preferences/releases/download/v0.5.0/hawaii-system-preferences-0.5.0.tar.xz")
sha1sums=('d88e031e7ed9be20e7559820a7649a4b')

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
}

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