summaryrefslogtreecommitdiffstats
path: root/arch/3.5.13/trinity-extras/trinity-kdegraphics
diff options
context:
space:
mode:
authorPawel "l0ner" Soltys <[email protected]>2012-02-07 18:15:17 +0100
committerPawel "l0ner" Soltys <[email protected]>2012-02-07 18:15:17 +0100
commit40d9f429614a8b2d5c150d2111916ab8a6fc50df (patch)
treecf6f793aaf33d0df8ae145e6f1174121538ad9d1 /arch/3.5.13/trinity-extras/trinity-kdegraphics
parentee1fdbd0432c23cda7facead05948c2c90a0c4ee (diff)
downloadtde-packaging-40d9f429614a8b2d5c150d2111916ab8a6fc50df.tar.gz
tde-packaging-40d9f429614a8b2d5c150d2111916ab8a6fc50df.zip
kdegraphics: minor fixups, dropped _prefix variable
Diffstat (limited to 'arch/3.5.13/trinity-extras/trinity-kdegraphics')
-rw-r--r--arch/3.5.13/trinity-extras/trinity-kdegraphics/PKGBUILD16
1 files changed, 4 insertions, 12 deletions
diff --git a/arch/3.5.13/trinity-extras/trinity-kdegraphics/PKGBUILD b/arch/3.5.13/trinity-extras/trinity-kdegraphics/PKGBUILD
index 8f1ed8b4c..49650579a 100644
--- a/arch/3.5.13/trinity-extras/trinity-kdegraphics/PKGBUILD
+++ b/arch/3.5.13/trinity-extras/trinity-kdegraphics/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=trinity-kdegraphics
pkgver=3513
-pkgrel=1.0
+pkgrel=2
arch=('i686' 'x86_64')
url='http://www.trinitydesktop.com'
license=('GPL')
@@ -20,16 +20,10 @@ options=('libtool' '!strip')
source=('http://mirror.ets.kth.se/trinity/releases/3.5.13/kdegraphics-3.5.13.tar.gz' 'ksnapshot.patch')
md5sums=('a75c254cd1060343cd04c6744bce6798' '635ed9478cb3edde4fda84f3bac85438')
-_prefix="/opt/trinity"
-
build() {
msg "Setting PATH, CMAKE and Trinity Environment variables"
- . /etc/profile.d/qt3.sh
-
- export CMAKE_PREFIX_PATH=/opt/qt:${_prefix}
- export CMAKE_INCLUDE_PATH=/opt/qt/include:/opt/qt/include/tqt:/usr/include/dbus-1.0:/opt/trinity/include:/opt/trinity/include/libkrandr:/usr/include:/usr/include/lcms
- export LD_LIBRARY_PATH=/opt/trinity/lib:/opt/trinity/lib/kde3:/usr/lib:$LD_LIBRARY_PATH
- export PKG_CONFIG_PATH=:/opt/trinity/lib/pkgconfig:/opt/qt/lib/pkgconfig
+ [ "$QTDIR" = "" ] && . /etc/profile.d/qt3.sh
+ [ "$TDEDIR" = "" ] && . /etc/profile.d/trinity.sh
msg "Patching..."
patch -p0 -i ${srcdir}/ksnapshot.patch
@@ -41,7 +35,7 @@ build() {
msg "Starting cmake..."
cmake ${srcdir}/kdegraphics \
- -DCMAKE_INSTALL_PREFIX=${_prefix} \
+ -DCMAKE_INSTALL_PREFIX=${TDEDIR} \
-DCMAKE_VERBOSE_MAKEFILE=ON \
-DQT_VERSION=3 \
-DCMAKE_CXX_FLAGS="-fpermissive" \
@@ -59,8 +53,6 @@ build() {
package() {
msg "Packaging - $pkgname-$pkgver"
cd ${srcdir}/build
-
make DESTDIR="$pkgdir" install
-
cd ${startdir}
}