desktop/qbs/PKGBUILD
2017-05-24 23:49:42 +01:00

23 lines
548 B
Bash

pkgname=qbs
pkgver=1.8.0
pkgrel=1
pkgdesc='Cross platform build tool'
arch=('x86_64')
url='https://www.qt.io/'
license=('LGPL')
depends=('qt5-base' 'qt5-script')
makedepends=('gcc')
source=($pkgname-$pkgver.tar.gz::"https://github.com/qt-labs/qbs/archive/v$pkgver.tar.gz")
md5sums=('928deb848b406c64ced62bfcf0c1b796')
build() {
cd qbs-$pkgver
qmake-qt5 QBS_INSTALL_PREFIX=/usr QBS_LIBEXEC_INSTALL_DIR=/usr/lib/qbs CONFIG+=qbs_enable_project_file_updates qbs.pro
make
}
package() {
cd qbs-$pkgver
make INSTALL_ROOT="${pkgdir}" install
}