summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 62b91fbbcd48af7cdf5f960b3191de927e3bfa69 (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
# Maintainer: Dan Johansen <strit@archlinux.org>

_pkgname=wayqt
pkgname=('dfl-wayqt')
pkgver=0.3.0
pkgrel=1
pkgdesc="A Qt-based wrapper for various wayland protocols"
arch=('x86_64' 'aarch64')
url="https://gitlab.com/desktop-frameworks/$_pkgname"
license=('GPL-3.0-only')
depends=(
        'qt6-base'
        'qt6-wayland'
        'wayland-protocols'
        'wayland'
)
makedepends=(
            'meson'
            'ninja'
)
source=("$url/-/archive/v${pkgver}/${_pkgname}-v${pkgver}.tar.gz")
sha256sums=('d1c8abe7c104c81db7535360dbba6ecd2558156a8b76b6b66ad411605009fbd0')

build() {
  cd "${_pkgname}-v${pkgver}"
  echo "Building QT6 version..."
  meson setup .build --prefix=/usr --buildtype=release
  ninja -C .build
}

package() {
  cd "${_pkgname}-v${pkgver}"
  DESTDIR="${pkgdir}" ninja -C .build install
}