desktop/qbs/PKGBUILD
2017-02-01 11:42:46 +00:00

27 lines
602 B
Bash

pkgname=qbs
pkgver=1.7.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=('a8c5a188b135e40f29f23b1510f16422')
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
}