desktop/qbs/PKGBUILD

27 lines
679 B
Bash

pkgname=qbs
pkgver=1.11.1
pkgrel=1
pkgdesc='Cross platform build tool'
arch=('x86_64')
url='https://wiki.qt.io/Qbs'
license=('LGPL')
depends=('qt5-script')
source=("https://download.qt.io/official_releases/qbs/${pkgver}/qbs-src-${pkgver}.tar.gz")
sha256sums=('8a301e8e94169e44f2ca4ad65fc4d393215bf3b81bc51daa970f50ddb6231f5b')
build() {
cd $pkgname-src-$pkgver
qmake-qt5 QBS_INSTALL_PREFIX=/usr \
QBS_LIBEXEC_INSTALL_DIR=/usr/lib/qbs \
QBS_LIBEXEC_DESTDIR=../../../lib/qbs \
QBS_RELATIVE_LIBEXEC_PATH=../lib/qbs \
CONFIG+=qbs_enable_project_file_updates \
qbs.pro
make
}
package() {
cd $pkgname-src-$pkgver
make INSTALL_ROOT="${pkgdir}" install
}