From 96e01bdd430c08b69434baab55daeb7c728678e1 Mon Sep 17 00:00:00 2001 From: Francesco Marinucci Date: Tue, 12 Feb 2019 18:38:07 +0100 Subject: [PATCH] [skip-ci] qt4pas: imported from CCR as a dep for peazip --- qt4pas/PKGBUILD | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 qt4pas/PKGBUILD diff --git a/qt4pas/PKGBUILD b/qt4pas/PKGBUILD new file mode 100644 index 000000000..9a3f207c3 --- /dev/null +++ b/qt4pas/PKGBUILD @@ -0,0 +1,29 @@ +pkgname=qt4pas +pkgver=2.5 +pkgrel=4 +pkgdesc="Free Pascal Qt4 Binding Library" +arch=('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 $pkgname-V${pkgver}_Qt4.5.3 + + qmake -query + qmake + make +} + +package() { + cd $pkgname-V${pkgver}_Qt4.5.3 + INSTALL_ROOT="$pkgdir" 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 +}