# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
pkgname=qt5ct
pkgver=0.37
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="https://sourceforge.net/projects/qt5ct/files/qt5ct-$pkgver.tar.bz2"

build() {
	cd "$builddir"
	qmake PREFIX=/usr
	make
}

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

sha512sums="685716b2e756ff433f5092cda981ef665ca5a44ad009745f51b38278c3d8eed6939fc52c6cf1f09046ab0a3910261892d7cf5250360874e2d7e4f12bff692da7  qt5ct-0.37.tar.bz2"