summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0e884aa56e159cba630f6af6f1cd1266f20fa0d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Maintainer: Gustavo Castro < gustawho [ at ] openmailbox [ dot ] org >

_pkgname=qt-creator-terminalplugin
pkgname=qtcreator-terminal-plugin-git
pkgver=2119fe7
pkgrel=1
pkgdesc="A konsole-like terminal plugin for Qt Creator"
groups=('qt' 'qt5')
arch=('i686' 'x86_64')
url='https://github.com/manyoso/qt-creator-terminalplugin'
license=('LGPL2.1')
depends=('qtcreator' 'qtermwidget')
makedepends=('git' 'qtcreator-src')
provides=('qtcreator-terminal-plugin')
conflicts=('qtcreator-terminal-plugin')
source=("$pkgname::git://github.com/manyoso/qt-creator-terminalplugin.git")
md5sums=('SKIP')

pkgver() {
	cd $pkgname
	git describe --always | sed 's|-|.|g'
}

build() {
	cd $pkgname
    # TODO: QTC_BUILD=/usr
	QTC_SOURCE=/usr/src/qtcreator QTC_BUILD=build/usr qmake LIBS+="-L/usr/lib/qtcreator -L/usr/lib/qtcreator/plugins"
	make
}

package() {
	cd $pkgname
	cp -r build/* ${pkgdir}
}