diff options
author | Pawel "l0ner" Soltys <pwslts@gmail.com> | 2012-02-07 18:15:52 +0100 |
---|---|---|
committer | Pawel "l0ner" Soltys <pwslts@gmail.com> | 2012-02-07 18:15:52 +0100 |
commit | b56b9bf5441e324ee4d159746f797f788dc3ac9d (patch) | |
tree | 6ef01a1244c1e82ea115af0e060c83a519af37f2 /arch/3.5.13 | |
parent | 5326d007b4e94498e9faf8fa22ac9736d624fe87 (diff) | |
download | tde-packaging-b56b9bf5441e324ee4d159746f797f788dc3ac9d.tar.gz tde-packaging-b56b9bf5441e324ee4d159746f797f788dc3ac9d.zip |
kdenetwork: minor fixups, dropped _prefix variable
Diffstat (limited to 'arch/3.5.13')
-rw-r--r-- | arch/3.5.13/trinity-extras/trinity-kdenetwork/PKGBUILD | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/arch/3.5.13/trinity-extras/trinity-kdenetwork/PKGBUILD b/arch/3.5.13/trinity-extras/trinity-kdenetwork/PKGBUILD index 82d8bebab..a24800eef 100644 --- a/arch/3.5.13/trinity-extras/trinity-kdenetwork/PKGBUILD +++ b/arch/3.5.13/trinity-extras/trinity-kdenetwork/PKGBUILD @@ -3,7 +3,7 @@ pkgname=trinity-kdenetwork pkgver=3513 -pkgrel=1 +pkgrel=2 arch=('i686' 'x86_64') url='http://www.trinitydesktop.org' license=('GPL') @@ -26,12 +26,8 @@ md5sums=('349f197c9af4bf0d9b8773f26829415e' build() { msg "Setting PATH, CMAKE and Trinity Environment variables" - export CMAKE_PREFIX_PATH=/opt/qt:/opt/trinity - export CMAKE_INCLUDE_PATH=/opt/qt/include/tqt:/usr/include/dbus-1.0:/opt/trinity/include - export LD_LIBRARY_PATH=/opt/trinity/lib:/opt/trinity/lib/kde3:$LD_LIBRARY_PATH - export PKG_CONFIG_PATH=:/opt/qt/lib/pkgconfig - - _prefix="/opt/trinity" + [ "$QTDIR" = "" ] && . /etc/profile.d/qt3.sh + [ "$TDEDIR" = "" ] && . /etc/profile.d/trinity.sh patch -p0 -i ${srcdir}/kdenetwork.patch mv ${srcdir}/kdenetwork/kopete/protocols/jabber/jingle/libjingle/talk/xmllite/qname.cc ${srcdir}/kdenetwork/kopete/protocols/jabber/jingle/libjingle/talk/xmllite/tqname.cc @@ -44,7 +40,7 @@ build() { msg "Starting cmake..." cmake ${srcdir}/kdenetwork \ - -DCMAKE_INSTALL_PREFIX=${_prefix} \ + -DCMAKE_INSTALL_PREFIX=$TDEDIR \ -DCMAKE_VERBOSE_MAKEFILE=ON \ -DWITH_JINGLE=ON \ -DWITH_SPEEX=ON \ @@ -60,6 +56,5 @@ build() { package() { msg "Packaging - $pkgname-$pkgver" cd ${srcdir}/build - - make DESTDIR="$pkgdir/" install + make DESTDIR="$pkgdir" install } |