archrelease: copy trunk to community-any
[ArchLinux/community.git] / qt6ct / trunk / PKGBUILD
blob482703261d29425d5632757c338499fb3ede5ee0
1 # Maintainer: Antonio Rojas <arojas@archlinux.org>
2 # Contributor: Martchus <martchus@gmx.net>
4 pkgname=qt6ct
5 pkgver=0.8
6 pkgrel=3
7 pkgdesc='Qt 6 Configuration Utility'
8 arch=(x86_64)
9 url='https://github.com/trialuser02/qt6ct'
10 license=(BSD)
11 depends=(qt6-svg)
12 makedepends=(cmake qt6-tools)
13 source=(https://github.com/trialuser02/qt6ct/releases/download/$pkgver/qt6ct-$pkgver.tar.xz)
14 sha256sums=('567b06d26c4c015af9cbcb9d4e3b3104a7aa6df456ae1e86f3aa2befe7dfe164')
16 build() {
17   cmake -B build -S $pkgname-$pkgver \
18     -DCMAKE_INSTALL_PREFIX=/usr
19   cmake --build build
22 package() {
23   DESTDIR="$pkgdir" cmake --install build
24   install -Dm644 $pkgname-$pkgver/COPYING "$pkgdir"/usr/share/licenses/$pkgname/LICENSE