summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e3ab3364263fed8848412a972a0acbc92a115ebf (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
# Maintainer: begin-theadventure <begin-thecontact.ncncb at dralias dot com>
# Contributor : bartus <arch-user-repoᘓbartus.33mail.com>

pkgname=kddockwidgets
pkgver=1.7.0
pkgrel=3
arch=('x86_64')
pkgdesc="KDAB's Dock Widget Framework for Qt"
license=("GPL2" "custom:KDAB commercial license")
depends=('qt5-base' 'qt5-x11extras')
makedepends=('cmake' 'git' 'ninja' 'qt5-tools')
url="https://github.com/KDAB/KDDockWidgets"
source=("${pkgname}::git+${url}.git#tag=v${pkgver}")
sha256sums=('SKIP')

build() {
    cmake -S "$srcdir/$pkgname" -B build \
        -DCMAKE_BUILD_TYPE=Release \
        -DCMAKE_INSTALL_PREFIX=/usr \
        -G Ninja
    ninja -C "$srcdir/build"
}

package() {
    DESTDIR="${pkgdir}" ninja -C "$srcdir/build" install
}