desktop/qbs/PKGBUILD

27 lines
605 B
Bash
Raw Normal View History

pkgname=qbs
2017-09-06 08:21:39 +08:00
pkgver=1.9.0
pkgrel=1
2017-05-25 06:49:42 +08:00
pkgdesc='Cross platform build tool'
arch=('x86_64')
2016-06-22 15:39:01 +08:00
url='https://www.qt.io/'
license=('LGPL')
depends=('qt5-base' 'qt5-script')
2017-05-25 06:49:42 +08:00
makedepends=('gcc')
2017-09-06 08:21:39 +08:00
source=($pkgname-$pkgver.tar.gz::"https://github.com/qbs/qbs/archive/v$pkgver.tar.gz")
md5sums=('783d2b75d68cf499641b1829e9221825')
build() {
2017-05-25 06:49:42 +08:00
cd qbs-$pkgver
2017-09-06 08:21:39 +08:00
qmake-qt5 QBS_INSTALL_PREFIX=/usr \
QBS_LIBEXEC_INSTALL_DIR=/usr/lib/qbs \
QBS_RELATIVE_LIBEXEC_PATH=../lib/qbs \
CONFIG+=qbs_enable_project_file_updates \
qbs.pro
make
}
package() {
2017-05-25 06:49:42 +08:00
cd qbs-$pkgver
2016-10-02 17:36:50 +08:00
make INSTALL_ROOT="${pkgdir}" install
}