desktop/qbs/PKGBUILD

27 lines
602 B
Bash
Raw Normal View History

pkgname=qbs
2016-11-19 15:52:37 +08:00
pkgver=1.6.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")
2016-11-19 15:52:37 +08:00
md5sums=('fd53ee489e9ee84937520e32ae901f88')
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
}