Username: Password: Remember me
# Maintainer: Bruno Pagani <archange@archlinux.org>
 
_pkgname=Kvantum
pkgname=kvantum-qt5
pkgver=0.11.2
pkgrel=1
pkgdesc="SVG-based theme engine for Qt5 (including config tool and extra themes)"
arch=('x86_64')
url="https://github.com/tsujan/Kvantum"
license=('GPL')
depends=('qt5-base' 'qt5-svg' 'qt5-x11extras' 'libx11' 'libxext' 'hicolor-icon-theme')
makedepends=('cmake' 'qt5-tools')
source=(${pkgname}-${pkgver}.tar.gz::"${url}/archive/V${pkgver}.tar.gz")
sha256sums=('b57689ec8107d3e89fa1c4ad2a3f5f4cf1bc5f6259aa9f1dbaa5908fdd3b6161')
 
prepare() {
    mkdir -p build
}
 
build() {
    cd build
	cmake ../${_pkgname}-${pkgver}/${_pkgname} \
	      -DCMAKE_INSTALL_PREFIX:PATH=/usr
	make
}
 
package() {
	cd build
	make DESTDIR=$pkgdir install
}