summaryrefslogtreecommitdiff
path: root/community/qt4pas
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-05-04 00:01:57 +0000
committerroot <root@rshg054.dnsready.net>2012-05-04 00:01:57 +0000
commit0a24fb835cac4007388213ad0afb15257b035b14 (patch)
tree799a160f6daeb40ccbb6f1d06e7ef3ea0caaf660 /community/qt4pas
parent5520a8b04cecf4af812cbf2285e9ab6efabe147f (diff)
Fri May 4 00:01:56 UTC 2012
Diffstat (limited to 'community/qt4pas')
-rw-r--r--community/qt4pas/PKGBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/community/qt4pas/PKGBUILD b/community/qt4pas/PKGBUILD
new file mode 100644
index 000000000..f8711f222
--- /dev/null
+++ b/community/qt4pas/PKGBUILD
@@ -0,0 +1,35 @@
+# $Id: PKGBUILD 70222 2012-05-02 13:40:13Z idevolder $
+# Maintainer: BlackIkeEagle <ike DOT devolder AT gmail DOT com>
+# Contributor: Fabien Wang <fabien(dot)wang(at)gmail(dot)com>
+
+pkgname=qt4pas
+pkgver=2.5
+pkgrel=1
+pkgdesc="Free Pascal Qt4 Binding Library"
+arch=('i686' 'x86_64')
+url="http://users.telenet.be/Jan.Van.hijfte/qtforfpc/fpcqt4.html"
+license=('LGPL')
+depends=('qtwebkit')
+source=("http://users.telenet.be/Jan.Van.hijfte/qtforfpc/V2.5/qt4pas-V2.5_Qt4.5.3.tar.gz")
+md5sums=('8249bc17e4167e077d22c7f5fb118bb2')
+
+build() {
+ cd "$srcdir/qt4pas-V2.5_Qt4.5.3/"
+
+ sed -ie "s:target\.path = :target\.path = $pkgdir:g" Qt4Pas.pro
+
+ qmake -query
+ qmake
+ make
+}
+
+package() {
+ cd "$srcdir/qt4pas-V2.5_Qt4.5.3/"
+ make install
+
+ pushd "$pkgdir/usr/lib"
+ for intflink in 'libqt4intf.so' 'libqt4intf.so.5' 'libqt4intf.so.5.2' 'libqt4intf.so.5.2.1' 'libqt4intf.so.5.2.5'; do
+ ln -s libQt4Pas.so.5.2.5 $intflink
+ done
+ popd
+}