summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3d94b6793084a112a41b1e187f6855a9f841453e (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
35
# Maintainer: Oleg Shparber <trollixx+aur@gmail.com>
# URL: https://github.com/trollixx/aur-packages

_pkgname=qtcreator-tabbededitor-plugin
pkgname=${_pkgname}-git
pkgver=v0.0.3.24.g9f338d1
pkgrel=1
pkgdesc="QtCreator Tabbed Editor Plugin"
groups=('qt' 'qt5')
arch=('i686' 'x86_64')
url='https://github.com/trollixx/qtcreator-tabbededitor-plugin'
license=('LGPL')
depends=('qtcreator')
makedepends=('git' 'qtcreator-src')
provides=('qtcreator-tabbededitor-plugin')
conflicts=('qtcreator-tabbededitor-plugin')
source=("$pkgname::git://github.com/trollixx/qtcreator-tabbededitor-plugin.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}
}