updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / qt4pas / PKGBUILD
blob993121e4423eca6c5a3a945bd7689a539abeeea2
1 # Submitter: Fabien Wang <fabien(dot)wang(at)gmail(dot)com>
2 # Maintainer: Fabien Wang <fabien(dot)wang(at)gmail(dot)com>
4 pkgname=qt4pas
5 pkgver=2.5
6 pkgrel=1
7 pkgdesc="Free Pascal Qt4 Binding Library"
8 arch=('i686' 'x86_64')
9 url="http://users.telenet.be/Jan.Van.hijfte/qtforfpc/fpcqt4.html"
10 license=('LGPL')
11 depends=('qt' 'qtwebkit')
12 source=(http://users.telenet.be/Jan.Van.hijfte/qtforfpc/V2.5/qt4pas-V2.5_Qt4.5.3.tar.gz)
13 md5sums=('8249bc17e4167e077d22c7f5fb118bb2')
15 build()
17   cd ${srcdir}/qt4pas-V2.5_Qt4.5.3/
19         sed -ie "s:target\.path = :target\.path = ${pkgdir}:g" Qt4Pas.pro
21   qmake -query
22   qmake
23   make
24   make install
26         ln -s ${pkgdir}/usr/lib/libQt4Pas.so.5.2.5 ${pkgdir}/usr/lib/libqt4intf.so
27   ln -s ${pkgdir}/usr/lib/libQt4Pas.so.5.2.5 ${pkgdir}/usr/lib/libqt4intf.so.5
28   ln -s ${pkgdir}/usr/lib/libQt4Pas.so.5.2.5 ${pkgdir}/usr/lib/libqt4intf.so.5.2
29   ln -s ${pkgdir}/usr/lib/libQt4Pas.so.5.2.5 ${pkgdir}/usr/lib/libqt4intf.so.5.2.1
30   ln -s ${pkgdir}/usr/lib/libQt4Pas.so.5.2.5 ${pkgdir}/usr/lib/libqt4intf.so.5.2.5