[arch-commits] Commit in qt4/trunk (PKGBUILD qt4.profile)
Andrea Scarpino
andrea at nymeria.archlinux.org
Mon Feb 18 23:07:19 UTC 2013
Date: Tuesday, February 19, 2013 @ 00:07:18
Author: andrea
Revision: 178248
Remove tests; exports bins PATH
Added:
qt4/trunk/qt4.profile
Modified:
qt4/trunk/PKGBUILD
-------------+
PKGBUILD | 12 +++++++++---
qt4.profile | 1 +
2 files changed, 10 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-02-18 23:05:05 UTC (rev 178247)
+++ PKGBUILD 2013-02-18 23:07:18 UTC (rev 178248)
@@ -4,7 +4,7 @@
pkgname=qt4
pkgver=4.8.4
-pkgrel=1
+pkgrel=2
arch=('i686' 'x86_64')
url='http://qt-project.org/'
license=('GPL3' 'LGPL')
@@ -27,11 +27,12 @@
conflicts=('qt<=4.8.4' 'qtwebkit<=2.3.beta2')
_pkgfqn="qt-everywhere-opensource-src-${pkgver}"
source=("http://releases.qt-project.org/${pkgname}/source/${_pkgfqn}.tar.gz"
- 'qtconfig.desktop'
+ 'qtconfig.desktop' 'qt4.profile'
'improve-cups-support.patch'
'ld-gold.patch')
md5sums=('89c5ecba180cae74c66260ac732dc5cb'
'20ca06ef59775d749b9451ce7437fa9a'
+ '4ed0bd79a310e2b5d34fc71760b99139'
'c439c7731c25387352d8453ca7574971'
'864de59a34a2f72ab2668dd918634b64')
@@ -82,7 +83,6 @@
}
package() {
-
cd ${_pkgfqn}
make INSTALL_ROOT="${pkgdir}" install
@@ -92,6 +92,9 @@
install -Dm644 "${srcdir}"/qtconfig.desktop \
"${pkgdir}/usr/share/applications/qtconfig4.desktop"
+ # install the profile
+ install -D -m755 "${srcdir}"/qt4.profile "${pkgdir}"/etc/profile.d/qt4.sh
+
# install license addition
install -D -m644 LGPL_EXCEPTION.txt \
${pkgdir}/usr/share/licenses/${pkgname}/LGPL_EXCEPTION.txt
@@ -110,4 +113,7 @@
rm "${pkgdir}"/usr/lib/qt4/bin/{qdbus,qdbusviewer,qhelpconverter,qhelpgenerator}
rm -r "${pkgdir}"/usr/lib/qt4/plugins/designer
rm "${pkgdir}"/usr/share/qt4/translations/{assistant,designer,linguist,qt_help}_*.qm
+
+ # Remove tests
+ rm -r "${pkgdir}"/usr/tests
}
Added: qt4.profile
===================================================================
--- qt4.profile (rev 0)
+++ qt4.profile 2013-02-18 23:07:18 UTC (rev 178248)
@@ -0,0 +1 @@
+export PATH=$PATH:/usr/lib/qt4/bin
More information about the arch-commits
mailing list