summaryrefslogtreecommitdiffstats
path: root/arch/3.5.13/trinity-base/trinity-qt3/PKGBUILD
diff options
context:
space:
mode:
authorCalvin Morrison <mutantturkey@gmail.com>2011-12-02 13:26:57 -0500
committerCalvin Morrison <mutantturkey@gmail.com>2011-12-02 13:26:57 -0500
commitf1feafc2f14887ae1fe37990f523949a3d117dba (patch)
tree8a5fdec0d4770a7c5159cb71a9a92ca9b4f0d543 /arch/3.5.13/trinity-base/trinity-qt3/PKGBUILD
parent77dd839aeb09c8d534ff0fb0d2303bac6deb3f92 (diff)
downloadtde-packaging-f1feafc2f14887ae1fe37990f523949a3d117dba.tar.gz
tde-packaging-f1feafc2f14887ae1fe37990f523949a3d117dba.zip
added a ld.so.conf page for libqt-mt.so. added ruby depend for amarok. added konversation base PKGBUILD
Diffstat (limited to 'arch/3.5.13/trinity-base/trinity-qt3/PKGBUILD')
-rw-r--r--arch/3.5.13/trinity-base/trinity-qt3/PKGBUILD13
1 files changed, 9 insertions, 4 deletions
diff --git a/arch/3.5.13/trinity-base/trinity-qt3/PKGBUILD b/arch/3.5.13/trinity-base/trinity-qt3/PKGBUILD
index ca7954484..fcf35d65c 100644
--- a/arch/3.5.13/trinity-base/trinity-qt3/PKGBUILD
+++ b/arch/3.5.13/trinity-base/trinity-qt3/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Calvin Morrison <MutantTurkey@gmail.com>
pkgname=trinity-qt3
pkgver=3884
-pkgrel=1
+pkgrel=2
pkgdesc="The Qt3 gui toolkit - with Trinity upstream"
_prefix="/opt/qt"
arch=('i686' 'x86_64')
@@ -51,7 +51,14 @@ fi
}
package() {
- cd "$srcdir/qt3"
+
+ cd "$srcdir/qt3"
+
+ # Build ld.so.conf file
+ echo "/${_prefix}" > ${srcdir}/libqt-mt.conf
+ echo "/opt/trinity/lib" >> ${srcdir}/libqt-mt.conf
+ install -d -m755 ${pkgdir}/etc/ld.so.conf.d/
+ install -D -m755 ${srcdir}/libqt-mt.conf ${pkgdir}/etc/ld.so.conf.d/libqt-mt.conf
# Build and install qt.profile
echo "export QTDIR=/${_prefix}" > ${srcdir}/qt.profile
@@ -60,8 +67,6 @@ package() {
echo 'export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$QTDIR/pkgconfig' >> ${srcdir}/qt.profile
install -D -m755 ${srcdir}/qt.profile ${pkgdir}/etc/profile.d/qt3.sh
- install -d -m755 ${pkgdir}/etc/ld.so.conf.d/
- echo "${QTDIR}/lib" > ${pkgdir}/etc/ld-so.conf.d/${pkgname}.conf
make INSTALL_ROOT="$pkgdir/" install