summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 988c21ce8830c70b81eca3c580c38f6c0c06c978 (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
pkgname=deepin-wloutput-daemon-git
sourcename=dde-wloutput-daemon
pkgver=2.0.3
pkgrel=1
pkgdesc='Daemon for display settings in the DDE KWayland desktop environment'
arch=('x86_64')
url="https://github.com/linuxdeepin/dde-wloutput-daemon"
license=('GPL3')
depends=('qt5-base' 'dwayland' 'dtkcore' 'glibc' 'gcc-libs')
makedepends=('cmake' 'ninja' 'extra-cmake-modules')
provides=('deepin-wloutput-daemon')
conflicts=('deepin-wloutput-daemon')
groups=('deepin-git')
source=("git+https://github.com/linuxdeepin/dde-wloutput-daemon")
sha512sums=('SKIP')

prepare() {
  cd $sourcename
  sed -i 's/DtkGui/DtkCore/' src/CMakeLists.txt
}

build() {
  cd $sourcename
  cmake -B build -GNinja -DCMAKE_INSTALL_PREFIX=/usr
  cmake --build build
}

package() {
  cd $sourcename/build
  DESTDIR="$pkgdir" ninja install
}