summaryrefslogtreecommitdiffstats
path: root/arch/3.5.13_broken/trinity-wlassistant/PKGBUILD
diff options
context:
space:
mode:
authorPawel "l0ner" Soltys <sh4dou@gmail.com>2011-12-18 19:07:20 +0100
committerPawel "l0ner" Soltys <sh4dou@gmail.com>2011-12-18 19:07:20 +0100
commit620523010a822e93be02bdb3e375c11fe51ebae4 (patch)
tree3606450fd006fce129eca3ed6342e5f4da4c38e2 /arch/3.5.13_broken/trinity-wlassistant/PKGBUILD
parent2130815b4ab2359f9ad1024c8a5a40414710f5a9 (diff)
downloadtde-packaging-620523010a822e93be02bdb3e375c11fe51ebae4.tar.gz
tde-packaging-620523010a822e93be02bdb3e375c11fe51ebae4.zip
little modifiactions to base components PKGBUILDs,
removed dropped things added PKGBUILD templates fixed kde-style-lipstik PKGBUILD
Diffstat (limited to 'arch/3.5.13_broken/trinity-wlassistant/PKGBUILD')
-rw-r--r--arch/3.5.13_broken/trinity-wlassistant/PKGBUILD46
1 files changed, 24 insertions, 22 deletions
diff --git a/arch/3.5.13_broken/trinity-wlassistant/PKGBUILD b/arch/3.5.13_broken/trinity-wlassistant/PKGBUILD
index 0a8128abc..e051328fe 100644
--- a/arch/3.5.13_broken/trinity-wlassistant/PKGBUILD
+++ b/arch/3.5.13_broken/trinity-wlassistant/PKGBUILD
@@ -3,44 +3,46 @@
pkgname=trinity-wlassistant
pkgver=3513
pkgrel=1
+
arch=('i686' 'x86_64')
+
url='http://www.trinitydesktop.org'
license=('GPL')
-groups=('trinity-extras')
+groups=('trinity')
pkgdesc="Trinity - wlassistant"
-depends=('trinity-kdebase')
-makedepends=('pkgconfig' 'cmake' 'imake')
+
+depends=('trinity-kdelibs' 'trinity-pyqt3')
+makedepends=('pkgconfig' 'autoconf' 'automake' 'scons')
+
options=('libtool' '!strip')
+
source=(http://mirror.its.uidaho.edu/pub/trinity/releases/3.5.13/applications/wlassistant-3.5.13.tar.gz)
md5sums=('1fd3680a634fedee3c2d90b81c1ffe23')
-_svnmod=applications/wlassistant
+_builddir=applications/wlassistant
+_prefix=/opt/trinity
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
-
- trinity_prefix="/opt/trinity"
+ msg "Setting Trinity Environment variables"
+ export LD_LIBRARY_PATH=${_prefix}/lib:${_prefix}/lib/trinity:$LD_LIBRARY_PATH
+ export PKG_CONFIG_PATH=${_prefix}/lib/pkgconfig:${QTDIR}/lib/pkgconfig
- cd $srcdir
- msg "Creating out-of-source build directory: ${srcdir}/build"
- mkdir -p build
- cd build
+ cd ${srcdir}/${_builddir}
+ msg "Starting configure..."
+ ./configure --qtdir=${QTDIR} \
+ --qtlibs=${QTDIR}/lib \
+ --kdedir=${_prefix} \
+ --prefix=${_prefix} \
+ --kdeincludes=${_prefix}/include \
+ --kde-libs=${_prefix}/lib
- msg "Starting cmake..."
- cmake ${srcdir}/${_svnmod} \
- -DCMAKE_INSTALL_PREFIX=${trinity_prefix} \
- -DCMAKE_VERBOSE_MAKEFILE=ON \
- -DBUILD_ALL=ON
+ msg "Building ${pkgname}..."
make
}
package() {
msg "Packaging - $pkgname-$pkgver"
- cd ${srcdir}/build
- make DESTDIR="$pkgdir/" install
+ cd ${srcdir}/${_builddir}
+ make DESTDIR="${pkgdir}" install
}