[arch-commits] Commit in qt4pas/trunk (PKGBUILD)

Ike Devolder idevolder at nymeria.archlinux.org
Tue Feb 5 18:39:11 UTC 2013


    Date: Tuesday, February 5, 2013 @ 19:39:11
  Author: idevolder
Revision: 83859

qt4pas :: 2.5-3

remove the use of $pkgdir in build function
TODO: https://www.archlinux.org/todo/clean-up-pkgdir-usage/

Modified:
  qt4pas/trunk/PKGBUILD

----------+
 PKGBUILD |    6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-02-05 18:18:47 UTC (rev 83858)
+++ PKGBUILD	2013-02-05 18:39:11 UTC (rev 83859)
@@ -4,7 +4,7 @@
 
 pkgname=qt4pas
 pkgver=2.5
-pkgrel=2
+pkgrel=3
 pkgdesc="Free Pascal Qt4 Binding Library"
 arch=('i686' 'x86_64')
 url="http://users.telenet.be/Jan.Van.hijfte/qtforfpc/fpcqt4.html"
@@ -16,8 +16,6 @@
 build() {
 	cd "$srcdir/qt4pas-V2.5_Qt4.5.3/"
 
-	sed -ie "s:target\.path = :target\.path = $pkgdir:g" Qt4Pas.pro
-
 	qmake -query
 	qmake
 	make
@@ -25,7 +23,7 @@
 
 package() {
 	cd "$srcdir/qt4pas-V2.5_Qt4.5.3/"
-	make install
+	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




More information about the arch-commits mailing list