desktop/qbs/PKGBUILD

27 lines
602 B
Bash
Raw Normal View History

pkgname=qbs
2017-02-01 19:42:46 +08:00
pkgver=1.7.1
pkgrel=1
2015-04-28 07:01:23 +08:00
pkgdesc='Qt Build Suite'
arch=('x86_64')
2016-06-22 15:39:01 +08:00
url='https://www.qt.io/'
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
}
build() {
2015-08-27 20:18:04 +08:00
cd "${srcdir}/${pkgname}-src-${pkgver}"
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
}