updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / tufao-plugin / PKGBUILD
blob65ae0baf42c05296fa5c4ea4fd5de69b524bcbe6
1 # Maintainer: Vinícius dos Santos Oliveira <vini.ipsmaker@gmail.com>
2 pkgname=tufao-plugin
3 pkgver=0.0.1
4 pkgrel=1
5 pkgdesc="A QtCreator plugin to work with Tufão."
6 arch=('i686' 'x86_64')
7 url="http://tufao.googlecode.com/"
8 license=('LGPL3')
9 depends=('qtcreator')
10 source=('http://get.qt.nokia.com/qtcreator/qt-creator-2.4.0-src.tar.gz'
11         'http://code.google.com/p/tufao/downloads/detail?name=qtcreatorplugin-0.0.1.tar.bz2&can=2&q=')
12 md5sums=('80c1a2be4c685ce147c42424ad977e1a'
13          'f1ba782d622b8ba5d1eb5da5e5f9670d')
15 build() {
16   cd "$srcdir/qt-creator-2.4.0-src"
17   mkdir -p build
18   cd build
19   qmake ../qtcreator.pro
20   make
22   cd "$srcdir/qtcreatorplugin"
23   export QTC_SOURCE="$srcdir/qt-creator-2.4.0-src"
24   export QTC_BUILD="$srcdir/qt-creator-2.4.0-src/build"
25   qmake
26   make
29 package() {
30   cd "$srcdir/qt-creator-2.4.0-src/build/lib/qtcreator/plugins"
31   mkdir -p "$pkgdir/usr/lib/qtcreator/plugins"
32   cp -r TufaoTeam "$pkgdir/usr/lib/qtcreator/plugins"