blob: 13a3fd1a3954a4a559d95eb4b208d52cb6ceefa5 (
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
|
# Author: Roman Gilg <subdiff@gmail.com>
pkgname=disman-kwinft
pkgver=5.27
pkgrel=1
pkgdesc='Qt/C++ display management library'
arch=(x86_64 aarch64)
url="https://gitlab.com/kwinft/disman"
license=(LGPL)
depends=(kcoreaddons qt5-x11extras wrapland)
provides=("disman")
conflicts=("disman")
makedepends=(extra-cmake-modules git kdoctools qt5-tools)
source=("git+https://gitlab.com/kwinft/disman.git")
sha256sums=('SKIP')
prepare() {
cd disman
git checkout Plasma/$pkgver
}
build() {
mkdir -p build
cd build
cmake ../disman \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DCMAKE_INSTALL_LIBEXECDIR=lib \
-DBUILD_TESTING=OFF
make
}
package() {
cd build
make DESTDIR="$pkgdir" install
}
|