updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / qtsingleapplication / PKGBUILD
blob74d184a98a08b8ae64a7af235cf82386f5f58ff1
1 # Maintainer: micke@sfu.ca
2 # Contributor: micke@sfu.ca
4 pkgname=qtsingleapplication
5 pkgver=2.6_1
6 origver=2.6_1
7 pkgrel=1
8 pkgdesc="Trolltech's QtSingleApplication component provides support for applications that can be only started once per user."
9 arch=('i686' 'x86_64')
10 url="http://qt.nokia.com/products/appdev/add-on-products/catalog/4/Utilities/qtsingleapplication"
11 depends=('qt>=4.0')
12 license=('lgpl')
13 source=(http://get.qt.nokia.com/qt/solutions/lgpl/${pkgname}-${pkgver}-opensource.tar.gz)
14 md5sums=('902795eb13ecedbdc112f00d7ec22949');
16 build() {
17     cd $startdir/src/${pkgname}-${pkgver}-opensource
18     ./configure -library
19     qmake
20     make
21     install -D lib/libQtSolutions_SingleApplication-2.6.so $startdir/pkg/usr/lib/libQtSolutions_SingleApplication-2.6.so
22     
23     install -D src/QtLockedFile $startdir/pkg/usr/include/QtSolutions/QtLockedFile
24     install -D src/QtSingleApplication $startdir/pkg/usr/include/QtSolutions/QtSingleApplication
25     install -D src/*.h $startdir/pkg/usr/include/QtSolutions/
26     echo "==> To use: link against libQtSolutions_SingleApplication-2.6.so and include <QtSolutions/QtSingleApplication>"