2015-04-22 19:20:25 +08:00
|
|
|
pkgname=qbs
|
2017-02-01 19:42:46 +08:00
|
|
|
pkgver=1.7.1
|
2015-04-22 19:20:25 +08:00
|
|
|
pkgrel=1
|
2015-04-28 07:01:23 +08:00
|
|
|
pkgdesc='Qt Build Suite'
|
2015-04-22 19:20:25 +08:00
|
|
|
arch=('x86_64')
|
2016-06-22 15:39:01 +08:00
|
|
|
url='https://www.qt.io/'
|
2015-04-22 19:20:25 +08:00
|
|
|
license=('LGPL')
|
|
|
|
depends=('qt5-base' 'qt5-script')
|
2015-08-27 20:18:04 +08:00
|
|
|
source=("http://download.qt-project.org/official_releases/${pkgname}/${pkgver}/${pkgname}-src-${pkgver}.tar.gz")
|
2017-02-01 19:42:46 +08:00
|
|
|
md5sums=('a8c5a188b135e40f29f23b1510f16422')
|
2016-10-02 17:36:50 +08:00
|
|
|
|
|
|
|
prepare() {
|
|
|
|
cd "${srcdir}/${pkgname}-src-${pkgver}/src"
|
|
|
|
sed 's,/usr/local,/usr,g' -i install_prefix.pri
|
|
|
|
}
|
2015-04-22 19:20:25 +08:00
|
|
|
|
|
|
|
build() {
|
2015-08-27 20:18:04 +08:00
|
|
|
cd "${srcdir}/${pkgname}-src-${pkgver}"
|
2015-04-22 19:20:25 +08:00
|
|
|
qmake-qt5 -r qbs.pro
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2015-08-27 20:18:04 +08:00
|
|
|
cd "${srcdir}/${pkgname}-src-${pkgver}"
|
2016-10-02 17:36:50 +08:00
|
|
|
make INSTALL_ROOT="${pkgdir}" install
|
2015-04-22 19:20:25 +08:00
|
|
|
}
|