summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3da213f18680e87fc22aa2c18ba31c5d405139ba (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
41
42
43
44
45
46
47
48
49
50
# Maintainer: Charles Dong <chardon_cs@proton.me>
pkgname=hyprland-qtutils
pkgver=0.1.1
pkgrel=3
epoch=
pkgdesc="Hyprland Qt/QML utility apps"
arch=('x86_64' 'aarch64')
url="https://github.com/hyprwm/hyprland-qtutils"
license=('BSD-3-Clause')
groups=()
depends=(
    'qt6-base'
    'qt6-wayland'
    'pkg-config'
    'hyprutils'
    'qqc2-desktop-style'
)
makedepends=(
    'gcc'
    'cmake'
    'ninja'
)
checkdepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=(
    "https://github.com/hyprwm/hyprland-qtutils/archive/refs/tags/v${pkgver}.tar.gz"
)
noextract=()
sha256sums=(
    '3d88e7aaea9ad1c5dc7703d43e4021f06e3f582a656a7592708d8204a272236c'
)
validpgpkeys=()

build() {
    cd $srcdir/${pkgname}-$pkgver
    cmake -B ./build -G Ninja -D CMAKE_BUILD_TYPE=Release
    cmake --build ./build
}

package() {
    cd $srcdir/${pkgname}-$pkgver/build
    cmake --install . --prefix $pkgdir/usr
}