# Contributor: Sheila Aman <sheila@vulpine.house>
# Maintainer: Sheila Aman <sheila@vulpine.house>
pkgname=qt5ct
pkgver=1.2
pkgrel=0
pkgdesc="GUI utility for configuring Qt5"
url="https://sourceforge.net/projects/qt5ct/"
arch="all"
options="!check"  # Test suite requires X11.
license="BSD-2-Clause"
depends=""
makedepends="qt5-qtbase-dev qt5-qtsvg-dev qt5-qttools-dev"
source="$pkgname-$pkgver.tar.bz2::https://master.dl.sourceforge.net/project/$pkgname/$pkgname-$pkgver.tar.bz2?viasf=1"

build() {
	qmake PREFIX=/usr
	make
}

package() {
	make INSTALL_ROOT="$pkgdir" install
}

sha512sums="044582440fc3ed8424970a30d7e1562396f9a1651f2c50adbdcb6ec73b35fb8dd23de419df29b92d21a45fea9af4e562b1294f5bfc329419f831775954f8ed6f  qt5ct-1.2.tar.bz2"