summaryrefslogtreecommitdiffstats
path: root/arch/3.5.13/trinity-extras/trinity-kdewebdev
diff options
context:
space:
mode:
authorPawel "l0ner" Soltys <[email protected]>2012-02-07 18:17:27 +0100
committerPawel "l0ner" Soltys <[email protected]>2012-02-07 18:17:27 +0100
commit476f266bccdfc98a3eb09bf6642dc85e640df012 (patch)
tree3aae364488ea5d3faed87bce86e6a0fdaf3929f6 /arch/3.5.13/trinity-extras/trinity-kdewebdev
parentf5d00df4063996cd922178182af6c4d484d6a248 (diff)
downloadtde-packaging-476f266bccdfc98a3eb09bf6642dc85e640df012.tar.gz
tde-packaging-476f266bccdfc98a3eb09bf6642dc85e640df012.zip
kdewebdev: minor fixups, dropped _prefix variable
Diffstat (limited to 'arch/3.5.13/trinity-extras/trinity-kdewebdev')
-rw-r--r--arch/3.5.13/trinity-extras/trinity-kdewebdev/PKGBUILD15
1 files changed, 5 insertions, 10 deletions
diff --git a/arch/3.5.13/trinity-extras/trinity-kdewebdev/PKGBUILD b/arch/3.5.13/trinity-extras/trinity-kdewebdev/PKGBUILD
index 49e067fd6..aeb365b82 100644
--- a/arch/3.5.13/trinity-extras/trinity-kdewebdev/PKGBUILD
+++ b/arch/3.5.13/trinity-extras/trinity-kdewebdev/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=trinity-webdev
pkgver=3513
-pkgrel=1
+pkgrel=2
arch=('i686' 'x86_64')
url='http://www.trinitydesktop.org'
license=('GPL')
@@ -18,13 +18,8 @@ md5sums=('4f56a6c4b5916615ca3615f8e8f868c6'
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 -N -d ${srcdir} -p0 < kdewebdev.patch
cd $srcdir
@@ -34,7 +29,7 @@ build() {
msg "Starting cmake..."
cmake ${srcdir}/kdewebdev \
- -DCMAKE_INSTALL_PREFIX=${_prefix} \
+ -DCMAKE_INSTALL_PREFIX=${TDEDIR} \
-DCMAKE_VERBOSE_MAKEFILE=ON \
-DBUILD_ALL=ON
make
@@ -43,5 +38,5 @@ build() {
package() {
msg "Packaging - $pkgname-$pkgver"
cd ${srcdir}/build
- make DESTDIR="$pkgdir/" install
+ make DESTDIR="$pkgdir" install
}