pkgname=qbs pkgver=1.6.1 pkgrel=1 pkgdesc='Qt Build Suite' arch=('x86_64') url='https://www.qt.io/' license=('LGPL') depends=('qt5-base' 'qt5-script') source=("http://download.qt-project.org/official_releases/${pkgname}/${pkgver}/${pkgname}-src-${pkgver}.tar.gz") md5sums=('fd53ee489e9ee84937520e32ae901f88') prepare() { cd "${srcdir}/${pkgname}-src-${pkgver}/src" sed 's,/usr/local,/usr,g' -i install_prefix.pri } build() { cd "${srcdir}/${pkgname}-src-${pkgver}" qmake-qt5 -r qbs.pro make } package() { cd "${srcdir}/${pkgname}-src-${pkgver}" make INSTALL_ROOT="${pkgdir}" install }