Skip to content

Instantly share code, notes, and snippets.

@fargies

fargies/PKGBUILD

Created Dec 13, 2015
Embed
What would you like to do?
qtcreator-src PKGBUILD
# Maintainer: Oleg Shparber <trollixx+aur@gmail.com>
# Contributor: Giuliano Schneider <gs93@gmx.net>
# Contributor: Alireza Savand <alireza.savand@gmail.com>
# Contributor: K?vin Guilloy <kevin@guilloy.ath.cx>
# URL: https://github.com/trollixx/aur-packages
pkgname=qtcreator-src
pkgver=3.6.0rc1
_pkgver=v3.6.0-rc1
pkgrel=1
pkgdesc="Source code of Qt Creator IDE needed to build plugins"
arch=('any')
url="http://wiki.qt.io/Category:Tools::QtCreator"
license=('LGPL')
depends=('git')
options=('!strip')
makedepends=()
source=("git://code.qt.io/qt-creator/qt-creator.git#tag=${_pkgver}")
md5sums=('SKIP')
PKGEXT='.pkg.tar'
prepare() {
cd qt-creator
# Debugger: Allow LLDB-MI to be used as debugger
# https://bugreports.qt.io/browse/QTCREATORBUG-15131
# https://code.qt.io/cgit/qt-creator/qt-creator.git/commit/?id=97e9f113879c
# https://code.qt.io/cgit/qt-creator/qt-creator.git/commit/?id=e57b0db0f959
git cherry-pick -n 97e9f113879c e57b0db0f959
}
package () {
cd "${srcdir}"
mkdir -p "$pkgdir/usr/src/"
cp -r "qt-creator" "$pkgdir/usr/src/qtcreator"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.