# $Id: PKGBUILD 373127 2018-08-21 12:35:33Z arojas $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: DsTr <kostindima@gmail.com>

pkgname=qconf
pkgver=2.4
pkgrel=2
pkgdesc="QConf allows you to have a nice configure script for your qmake-based project."
arch=(x86_64)
url="https://github.com/psi-plus/qconf"
license=('GPL')
depends=('qt5-base')
makedepends=()
source=("$pkgname-$pkgver.tar.gz::https://github.com/psi-plus/qconf/archive/v$pkgver.tar.gz")
sha256sums=('8a486060d5481f5b62171b8ffe343d9a9dd49e3b3170a1f79314ee34ea9e8819')

build() {
  cd "$srcdir"/qconf-$pkgver
  ./configure --prefix=/usr
  make
}

package() {
  cd "$srcdir"/qconf-$pkgver
  make INSTALL_ROOT="$pkgdir" install
}
