summaryrefslogtreecommitdiffstats
path: root/arch/3.5.13/trinity-extras
diff options
context:
space:
mode:
Diffstat (limited to 'arch/3.5.13/trinity-extras')
-rw-r--r--arch/3.5.13/trinity-extras/trinity-i18n/PKGBUILD593
-rw-r--r--arch/3.5.13/trinity-extras/trinity-kdeaccessibility/PKGBUILD51
-rw-r--r--arch/3.5.13/trinity-extras/trinity-kdeaddons/PKGBUILD55
-rw-r--r--arch/3.5.13/trinity-extras/trinity-kdeadmin/PKGBUILD55
-rw-r--r--arch/3.5.13/trinity-extras/trinity-kdeartwork/PKGBUILD49
-rw-r--r--arch/3.5.13/trinity-extras/trinity-kdeedu/PKGBUILD50
-rw-r--r--arch/3.5.13/trinity-extras/trinity-kdegames/PKGBUILD50
-rw-r--r--arch/3.5.13/trinity-extras/trinity-kdegraphics/GSmartPointer.h.patch10
-rw-r--r--arch/3.5.13/trinity-extras/trinity-kdegraphics/PKGBUILD66
-rw-r--r--arch/3.5.13/trinity-extras/trinity-kdegraphics/ksnapshot.patch11
-rw-r--r--arch/3.5.13/trinity-extras/trinity-kdemultimedia/PKGBUILD61
-rw-r--r--arch/3.5.13/trinity-extras/trinity-kdemultimedia/xine_artsplugin.patch30
-rw-r--r--arch/3.5.13/trinity-extras/trinity-kdenetwork/PKGBUILD65
-rw-r--r--arch/3.5.13/trinity-extras/trinity-kdenetwork/kdenetwork.patch97
-rw-r--r--arch/3.5.13/trinity-extras/trinity-kdepim/PKGBUILD78
-rw-r--r--arch/3.5.13/trinity-extras/trinity-kdesdk/PKGBUILD81
-rw-r--r--arch/3.5.13/trinity-extras/trinity-kdesdk/kdesdk.patch13
-rw-r--r--arch/3.5.13/trinity-extras/trinity-kdetoys/PKGBUILD47
-rw-r--r--arch/3.5.13/trinity-extras/trinity-kdeutils/PKGBUILD50
-rw-r--r--arch/3.5.13/trinity-extras/trinity-kdevelop/PKGBUILD56
-rw-r--r--arch/3.5.13/trinity-extras/trinity-kdevelop/kdevelop.patch12
-rw-r--r--arch/3.5.13/trinity-extras/trinity-kdewebdev/PKGBUILD47
-rw-r--r--arch/3.5.13/trinity-extras/trinity-kdewebdev/kdewebdev.patch22
-rw-r--r--arch/3.5.13/trinity-extras/trinity-libcaldav/Changelog.patch12
-rw-r--r--arch/3.5.13/trinity-extras/trinity-libcaldav/Makefile.am.patch11
-rw-r--r--arch/3.5.13/trinity-extras/trinity-libcaldav/Makefile.in.patch11
-rw-r--r--arch/3.5.13/trinity-extras/trinity-libcaldav/PKGBUILD45
-rw-r--r--arch/3.5.13/trinity-extras/trinity-libcarddav/PKGBUILD42
-rw-r--r--arch/3.5.13/trinity-extras/trinity-libcarddav/libcarddav.patch38
-rw-r--r--arch/3.5.13/trinity-extras/trinity-libkdcraw/PKGBUILD49
-rw-r--r--arch/3.5.13/trinity-extras/trinity-libkexiv2/PKGBUILD47
-rw-r--r--arch/3.5.13/trinity-extras/trinity-libkipi/PKGBUILD47
32 files changed, 1951 insertions, 0 deletions
diff --git a/arch/3.5.13/trinity-extras/trinity-i18n/PKGBUILD b/arch/3.5.13/trinity-extras/trinity-i18n/PKGBUILD
new file mode 100644
index 000000000..417343986
--- /dev/null
+++ b/arch/3.5.13/trinity-extras/trinity-i18n/PKGBUILD
@@ -0,0 +1,593 @@
+# Maintainer: Pawel 'l0ner' Soltys <pwslts@gmail.com>
+# Contributor: Calvin Morrison <mutantturkey@gmail.com>
+
+pkgname=('trinity-i18n-af' 'trinity-i18n-ar' 'trinity-i18n-az'
+ 'trinity-i18n-be' 'trinity-i18n-bg' 'trinity-i18n-bn'
+ 'trinity-i18n-br' 'trinity-i18n-bs'
+ 'trinity-i18n-csb' 'trinity-i18n-cy'
+ 'trinity-i18n-ca' 'trinity-i18n-cs' 'trinity-i18n-da'
+ 'trinity-i18n-de' 'trinity-i18n-el'
+ 'trinity-i18n-en_gb' 'trinity-i18n-eo' 'trinity-i18n-es'
+ 'trinity-i18n-et' 'trinity-i18n-eu' 'trinity-i18n-fa'
+ 'trinity-i18n-fi' 'trinity-i18n-fr' 'trinity-i18n-fy'
+ 'trinity-i18n-ga' 'trinity-i18n-gl' 'trinity-i18n-he'
+ 'trinity-i18n-hi' 'trinity-i18n-hr' 'trinity-i18n-hu'
+ 'trinity-i18n-is' 'trinity-i18n-it' 'trinity-i18n-ja'
+ 'trinity-i18n-kk' 'trinity-i18n-km' 'trinity-i18n-ko'
+ 'trinity-i18n-lt' 'trinity-i18n-lv' 'trinity-i18n-mk'
+ 'trinity-i18n-mn' 'trinity-i18n-ms' 'trinity-i18n-nb'
+ 'trinity-i18n-nds' 'trinity-i18n-nl' 'trinity-i18n-nn'
+ 'trinity-i18n-pa' 'trinity-i18n-pl' 'trinity-i18n-pt'
+ 'trinity-i18n-pt_br' 'trinity-i18n-ro' 'trinity-i18n-ru'
+ 'trinity-i18n-rw' 'trinity-i18n-se' 'trinity-i18n-sk'
+ 'trinity-i18n-sl' 'trinity-i18n-sr' 'trinity-i18n-sr-latn'
+ 'trinity-i18n-ss' 'trinity-i18n-sv' 'trinity-i18n-ta'
+ 'trinity-i18n-te' 'trinity-i18n-tg' 'trinity-i18n-th'
+ 'trinity-i18n-tr' 'trinity-i18n-uk' 'trinity-i18n-uz'
+ 'trinity-i18n-uz-cyrillic' 'trinity-i18n-vi' 'trinity-i18n-wa' '
+ trinity-i18n-zh_cn' 'trinity-i18n-zh_tw')
+pkgver=3513
+pkgrel=1
+arch=('i686' 'x86_64')
+url='http://www.trinitydesktop.org'
+license=('GPL')
+groups=('trinity-i18n')
+pkgdesc="Trinity Localizations collection"
+depends=('trinity-kdelibs' 'trinity-kdebase')
+makedepends=('pkgconfig' 'autoconf' 'automake')
+options=('libtool' '!strip')
+source=(http://mirror.ets.kth.se/trinity/releases/3.5.13/kde-i18n-3.5.13.tar.gz)
+md5sums=('7c919c7cb85f454fed46767082a87773')
+
+_prefix=/opt/trinity
+
+build() {
+ 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/kde-i18n
+ rm HOW.TO.BUILD TRINITY.RELEASE
+
+ for _filename in *.tar.bz2; do
+ _dir=`echo "$_filename" | cut -d'.' -f1-3`
+ _newname=`echo "$_dir" | cut -d'-' -f2-4`
+
+ if [ ! -d trinity-${newname} ]; then
+ msg "Extracting $_filename..."
+ tar xfj $_filename
+ mv $_dir trinity-${_newname}
+ fi
+
+ cd trinity-${_newname}
+
+ msg "Starting trinity-${_newname} configure..."
+ ./configure --prefix=${_prefix} > /dev/null
+
+ msg "Building trinity-${_newname}..."
+ make > /dev/null
+
+ cd ..
+ done
+}
+
+package_trinity-i18n-af() {
+groups=('trinity-i18n')
+pkgdesc="Trinity Afrikaans localization"
+ msg "Packaging - $pkgname-$pkgver"
+ cd ${srcdir}/kde-i18n/$pkgname-3.5.10
+ make DESTDIR="${pkgdir}" install
+}
+
+package_trinity-i18n-ar() {
+groups=('trinity-i18n')
+pkgdesc="Trinity Arabic localization"
+ msg "Packaging - $pkgname-$pkgver"
+ cd ${srcdir}/kde-i18n/$pkgname-3.5.10
+ make DESTDIR="${pkgdir}" install
+}
+
+package_trinity-i18n-az() {
+groups=('trinity-i18n')
+pkgdesc="Trinity Azerbaijani localization"
+ msg "Packaging - $pkgname-$pkgver"
+ cd ${srcdir}/kde-i18n/$pkgname-3.5.10
+ make DESTDIR="${pkgdir}" install
+}
+
+package_trinity-i18n-be() {
+groups=('trinity-i18n')
+pkgdesc="Trinity Belgian localization"
+ msg "Packaging - $pkgname-$pkgver"
+ cd ${srcdir}/kde-i18n/$pkgname-3.5.10
+ make DESTDIR="${pkgdir}" install
+}
+
+package_trinity-i18n-bg() {
+groups=('trinity-i18n')
+pkgdesc="Trinity Bulgarian localization"
+ msg "Packaging - $pkgname-$pkgver"
+ cd ${srcdir}/kde-i18n/$pkgname-3.5.10
+ make DESTDIR="${pkgdir}" install
+}
+
+package_trinity-i18n-bn() {
+groups=('trinity-i18n')
+pkgdesc="Trinity Brumei localization"
+ msg "Packaging - $pkgname-$pkgver"
+ cd ${srcdir}/kde-i18n/$pkgname-3.5.10
+ make DESTDIR="${pkgdir}" install
+}
+
+package_trinity-i18n-br() {
+groups=('trinity-i18n')
+pkgdesc="Trinity Breton localization"
+ msg "Packaging - $pkgname-$pkgver"
+ cd ${srcdir}/kde-i18n/$pkgname-3.5.10
+ make DESTDIR="${pkgdir}" install
+}
+
+package_trinity-i18n-bs() {
+groups=('trinity-i18n')
+pkgdesc="Trinity Bosnian localization"
+ msg "Packaging - $pkgname-$pkgver"
+ cd ${srcdir}/kde-i18n/$pkgname-3.5.10
+ make DESTDIR="${pkgdir}" install
+}
+
+package_trinity-i18n-ca() {
+groups=('trinity-i18n')
+pkgdesc="Trinity Catalan localization"
+ msg "Packaging - $pkgname-$pkgver"
+ cd ${srcdir}/kde-i18n/$pkgname-3.5.10
+ make DESTDIR="${pkgdir}" install
+}
+
+package_trinity-i18n-cs() {
+groups=('trinity-i18n')
+pkgdesc="Trinity Czech localization"
+ msg "Packaging - $pkgname-$pkgver"
+ cd ${srcdir}/kde-i18n/$pkgname-3.5.10
+ make DESTDIR="${pkgdir}" install
+}
+
+package_trinity-i18n-csb() {
+groups=('trinity-i18n')
+pkgdesc="Trinity Kashubian localization"
+ msg "Packaging - $pkgname-$pkgver"
+ cd ${srcdir}/kde-i18n/$pkgname-3.5.10
+ make DESTDIR="${pkgdir}" install
+}
+
+package_trinity-i18n-cy() {
+groups=('trinity-i18n')
+pkgdesc="Trinity Cyprus localization"
+ msg "Packaging - $pkgname-$pkgver"
+ cd ${srcdir}/kde-i18n/$pkgname-3.5.10
+ make DESTDIR="${pkgdir}" install
+}
+
+package_trinity-i18n-da() {
+groups=('trinity-i18n')
+pkgdesc="Trinity Danish localization"
+ msg "Packaging - $pkgname-$pkgver"
+ cd ${srcdir}/kde-i18n/$pkgname-3.5.10
+ make DESTDIR="${pkgdir}" install
+}
+
+package_trinity-i18n-de() {
+groups=('trinity-i18n')
+pkgdesc="Trinity German localization"
+ msg "Packaging - $pkgname-$pkgver"
+ cd ${srcdir}/kde-i18n/$pkgname-3.5.10
+ make DESTDIR="${pkgdir}" install
+}
+
+package_trinity-i18n-el() {
+groups=('trinity-i18n')
+pkgdesc="Trinity Greek localization"
+ msg "Packaging - $pkgname-$pkgver"
+ cd ${srcdir}/kde-i18n/$pkgname-3.5.10
+ make DESTDIR="${pkgdir}" install
+}
+
+package_trinity-i18n-en_gb() {
+groups=('trinity-i18n')
+pkgdesc="Trinity British English localization"
+ msg "Packaging - $pkgname-$pkgver"
+ cd ${srcdir}/kde-i18n/trinity-i18n-en_GB-3.5.10
+ make DESTDIR="${pkgdir}" install
+}
+
+package_trinity-i18n-eo() {
+groups=('trinity-i18n')
+pkgdesc="Trinity Esperanto localization"
+ msg "Packaging - $pkgname-$pkgver"
+ cd ${srcdir}/kde-i18n/$pkgname-3.5.10
+ make DESTDIR="${pkgdir}" install
+}
+
+package_trinity-i18n-es() {
+groups=('trinity-i18n')
+pkgdesc="Trinity Spanish localization"
+ msg "Packaging - $pkgname-$pkgver"
+ cd ${srcdir}/kde-i18n/$pkgname-3.5.10
+ make DESTDIR="${pkgdir}" install
+}
+
+package_trinity-i18n-et() {
+groups=('trinity-i18n')
+pkgdesc="Trinity Estonian localization"
+ msg "Packaging - $pkgname-$pkgver"
+ cd ${srcdir}/kde-i18n/$pkgname-3.5.10
+ make DESTDIR="${pkgdir}" install
+}
+
+package_trinity-i18n-eu() {
+groups=('trinity-i18n')
+pkgdesc="Trinity Basque localization"
+ msg "Packaging - $pkgname-$pkgver"
+ cd ${srcdir}/kde-i18n/$pkgname-3.5.10
+ make DESTDIR="${pkgdir}" install
+}
+
+package_trinity-i18n-fa() {
+groups=('trinity-i18n')
+pkgdesc="Trinity Farsi localization"
+ msg "Packaging - $pkgname-$pkgver"
+ cd ${srcdir}/kde-i18n/$pkgname-3.5.10
+ make DESTDIR="${pkgdir}" install
+}
+
+package_trinity-i18n-fi() {
+groups=('trinity-i18n')
+pkgdesc="Trinity Finnish localization"
+ msg "Packaging - $pkgname-$pkgver"
+ cd ${srcdir}/kde-i18n/$pkgname-3.5.10
+ make DESTDIR="${pkgdir}" install
+}
+
+package_trinity-i18n-fr() {
+groups=('trinity-i18n')
+pkgdesc="Trinity French localization"
+ msg "Packaging - $pkgname-$pkgver"
+ cd ${srcdir}/kde-i18n/$pkgname-3.5.10
+ make DESTDIR="${pkgdir}" install
+}
+
+package_trinity-i18n-fy() {
+groups=('trinity-i18n')
+pkgdesc="Trinity Frisian localization"
+ msg "Packaging - $pkgname-$pkgver"
+ cd ${srcdir}/kde-i18n/$pkgname-3.5.10
+ make DESTDIR="${pkgdir}" install
+}
+package_trinity-i18n-ga() {
+groups=('trinity-i18n')
+pkgdesc="Trinity Irish Galeic localization"
+ msg "Packaging - $pkgname-$pkgver"
+ cd ${srcdir}/kde-i18n/$pkgname-3.5.10
+ make DESTDIR="${pkgdir}" install
+}
+package_trinity-i18n-gl() {
+groups=('trinity-i18n')
+pkgdesc="Trinity Galician localization"
+ msg "Packaging - $pkgname-$pkgver"
+ cd ${srcdir}/kde-i18n/$pkgname-3.5.10
+ make DESTDIR="${pkgdir}" install
+}
+package_trinity-i18n-he() {
+groups=('trinity-i18n')
+pkgdesc="Trinity Hebrew localization"
+ msg "Packaging - $pkgname-$pkgver"
+ cd ${srcdir}/kde-i18n/$pkgname-3.5.10
+ make DESTDIR="${pkgdir}" install
+}
+package_trinity-i18n-hi() {
+groups=('trinity-i18n')
+pkgdesc="Trinity Hindi localization"
+ msg "Packaging - $pkgname-$pkgver"
+ cd ${srcdir}/kde-i18n/$pkgname-3.5.10
+ make DESTDIR="${pkgdir}" install
+}
+package_trinity-i18n-hr() {
+groups=('trinity-i18n')
+pkgdesc="Trinity Croatian localization"
+ msg "Packaging - $pkgname-$pkgver"
+ cd ${srcdir}/kde-i18n/$pkgname-3.5.10
+ make DESTDIR="${pkgdir}" install
+}
+package_trinity-i18n-hu() {
+groups=('trinity-i18n')
+pkgdesc="Trinity Hungarian localization"
+ msg "Packaging - $pkgname-$pkgver"
+ cd ${srcdir}/kde-i18n/$pkgname-3.5.10
+ make DESTDIR="${pkgdir}" install
+}
+package_trinity-i18n-is() {
+groups=('trinity-i18n')
+pkgdesc="Trinity Icelandic localization"
+ msg "Packaging - $pkgname-$pkgver"
+ cd ${srcdir}/kde-i18n/$pkgname-3.5.10
+ make DESTDIR="${pkgdir}" install
+}
+package_trinity-i18n-it() {
+groups=('trinity-i18n')
+pkgdesc="Trinity Italian localization"
+ msg "Packaging - $pkgname-$pkgver"
+ cd ${srcdir}/kde-i18n/$pkgname-3.5.10
+ make DESTDIR="${pkgdir}" install
+}
+package_trinity-i18n-ja() {
+groups=('trinity-i18n')
+pkgdesc="Trinity Japanese localization"
+ msg "Packaging - $pkgname-$pkgver"
+ cd ${srcdir}/kde-i18n/$pkgname-3.5.10
+ make DESTDIR="${pkgdir}" install
+}
+package_trinity-i18n-kk() {
+groups=('trinity-i18n')
+pkgdesc="Trinity Kazakh localization"
+ msg "Packaging - $pkgname-$pkgver"
+ cd ${srcdir}/kde-i18n/$pkgname-3.5.10
+ make DESTDIR="${pkgdir}" install
+}
+package_trinity-i18n-km() {
+groups=('trinity-i18n')
+pkgdesc="Trinity Khmer localization"
+ msg "Packaging - $pkgname-$pkgver"
+ cd ${srcdir}/kde-i18n/$pkgname-3.5.10
+ make DESTDIR="${pkgdir}" install
+}
+package_trinity-i18n-ko() {
+groups=('trinity-i18n')
+pkgdesc="Trinity Korean localization"
+ msg "Packaging - $pkgname-$pkgver"
+ cd ${srcdir}/kde-i18n/$pkgname-3.5.10
+ make DESTDIR="${pkgdir}" install
+}
+package_trinity-i18n-lt() {
+groups=('trinity-i18n')
+pkgdesc="Trinity Lithuanian localization"
+ msg "Packaging - $pkgname-$pkgver"
+ cd ${srcdir}/kde-i18n/$pkgname-3.5.10
+ make DESTDIR="${pkgdir}" install
+}
+package_trinity-i18n-lv() {
+groups=('trinity-i18n')
+pkgdesc="Trinity Latvian localization"
+ msg "Packaging - $pkgname-$pkgver"
+ cd ${srcdir}/kde-i18n/$pkgname-3.5.10
+ make DESTDIR="${pkgdir}" install
+}
+package_trinity-i18n-mk() {
+groups=('trinity-i18n')
+pkgdesc="Trinity Macedonian localization"
+ msg "Packaging - $pkgname-$pkgver"
+ cd ${srcdir}/kde-i18n/$pkgname-3.5.10
+ make DESTDIR="${pkgdir}" install
+}
+package_trinity-i18n-mn() {
+groups=('trinity-i18n')
+pkgdesc="Trinity Mongolian localization"
+ msg "Packaging - $pkgname-$pkgver"
+ cd ${srcdir}/kde-i18n/$pkgname-3.5.10
+ make DESTDIR="${pkgdir}" install
+}
+package_trinity-i18n-ms() {
+groups=('trinity-i18n')
+pkgdesc="Trinity Malay localization"
+ msg "Packaging - $pkgname-$pkgver"
+ cd ${srcdir}/kde-i18n/$pkgname-3.5.10
+ make DESTDIR="${pkgdir}" install
+}
+package_trinity-i18n-nb() {
+groups=('trinity-i18n')
+pkgdesc="Trinity Norvegian Bokmal localization"
+ msg "Packaging - $pkgname-$pkgver"
+ cd ${srcdir}/kde-i18n/$pkgname-3.5.10
+ make DESTDIR="${pkgdir}" install
+}
+package_trinity-i18n-nds() {
+groups=('trinity-i18n')
+pkgdesc="Trinity Low Saxon localization"
+ msg "Packaging - $pkgname-$pkgver"
+ cd ${srcdir}/kde-i18n/$pkgname-3.5.10
+ make DESTDIR="${pkgdir}" install
+}
+package_trinity-i18n-nl() {
+groups=('trinity-i18n')
+pkgdesc="Trinity Dutch localization"
+ msg "Packaging - $pkgname-$pkgver"
+ cd ${srcdir}/kde-i18n/$pkgname-3.5.10
+ make DESTDIR="${pkgdir}" install
+}
+package_trinity-i18n-nn() {
+groups=('trinity-i18n')
+pkgdesc="Trinity Norvegian Nynorsk localization"
+ msg "Packaging - $pkgname-$pkgver"
+ cd ${srcdir}/kde-i18n/$pkgname-3.5.10
+ make DESTDIR="${pkgdir}" install
+}
+package_trinity-i18n-pa() {
+groups=('trinity-i18n')
+pkgdesc="Trinity Panjabi/Punjabi localization"
+ msg "Packaging - $pkgname-$pkgver"
+ cd ${srcdir}/kde-i18n/$pkgname-3.5.10
+ make DESTDIR="${pkgdir}" install
+}
+package_trinity-i18n-pl() {
+groups=('trinity-i18n')
+pkgdesc="Trinity Polish localization"
+ msg "Packaging - $pkgname-$pkgver"
+ cd ${srcdir}/kde-i18n/$pkgname-3.5.10
+ make DESTDIR="${pkgdir}" install
+}
+package_trinity-i18n-pt() {
+groups=('trinity-i18n')
+pkgdesc="Trinity Portoghese localization"
+ msg "Packaging - $pkgname-$pkgver"
+ cd ${srcdir}/kde-i18n/$pkgname-3.5.10
+ make DESTDIR="${pkgdir}" install
+}
+package_trinity-i18n-pt_br() {
+groups=('trinity-i18n')
+pkgdesc="Trinity Brazilian Porthogese localization"
+ msg "Packaging - $pkgname-$pkgver"
+ cd ${srcdir}/kde-i18n/trinity-i18n-pt_BR-3.5.10
+ make DESTDIR="${pkgdir}" install
+}
+package_trinity-i18n-ro() {
+groups=('trinity-i18n')
+pkgdesc="Trinity Romanian localization"
+ msg "Packaging - $pkgname-$pkgver"
+ cd ${srcdir}/kde-i18n/$pkgname-3.5.10
+ make DESTDIR="${pkgdir}" install
+}
+package_trinity-i18n-ru() {
+groups=('trinity-i18n')
+pkgdesc="Trinity Russian localization"
+ msg "Packaging - $pkgname-$pkgver"
+ cd ${srcdir}/kde-i18n/$pkgname-3.5.10
+ make DESTDIR="${pkgdir}" install
+}
+package_trinity-i18n-rw() {
+groups=('trinity-i18n')
+pkgdesc="Trinity Kinyarwanda localization"
+ msg "Packaging - $pkgname-$pkgver"
+ cd ${srcdir}/kde-i18n/$pkgname-3.5.10
+ make DESTDIR="${pkgdir}" install
+}
+package_trinity-i18n-se() {
+groups=('trinity-i18n')
+pkgdesc="Trinity Northern Sami localization"
+ msg "Packaging - $pkgname-$pkgver"
+ cd ${srcdir}/kde-i18n/$pkgname-3.5.10
+ make DESTDIR="${pkgdir}" install
+}
+package_trinity-i18n-sk() {
+groups=('trinity-i18n')
+pkgdesc="Trinity Slovak localization"
+ msg "Packaging - $pkgname-$pkgver"
+ cd ${srcdir}/kde-i18n/$pkgname-3.5.10
+ make DESTDIR="${pkgdir}" install
+}
+package_trinity-i18n-sl() {
+groups=('trinity-i18n')
+pkgdesc="Trinity Slovenian localization"
+ msg "Packaging - $pkgname-$pkgver"
+ cd ${srcdir}/kde-i18n/$pkgname-3.5.10
+ make DESTDIR="${pkgdir}" install
+}
+package_trinity-i18n-sr() {
+groups=('trinity-i18n')
+pkgdesc="Trinity Serbian localization"
+ msg "Packaging - $pkgname-$pkgver"
+ cd ${srcdir}/kde-i18n/$pkgname-3.5.10
+ make DESTDIR="${pkgdir}" install
+}
+package_trinity-i18n-sr-latn() {
+groups=('trinity-i18n')
+pkgdesc="Trinity Serbian latin charset localization"
+ msg "Packaging - $pkgname-$pkgver"
+ cd ${srcdir}/kde-i18n/trinity-i18n-sr@Latn-3.5.10
+ make DESTDIR="${pkgdir}" install
+}
+package_trinity-i18n-ss() {
+groups=('trinity-i18n')
+pkgdesc="Trinity Swati localization"
+ msg "Packaging - $pkgname-$pkgver"
+ cd ${srcdir}/kde-i18n/$pkgname-3.5.10
+ make DESTDIR="${pkgdir}" install
+}
+package_trinity-i18n-sv() {
+groups=('trinity-i18n')
+pkgdesc="Trinity Swedish localization"
+ msg "Packaging - $pkgname-$pkgver"
+ cd ${srcdir}/kde-i18n/$pkgname-3.5.10
+ make DESTDIR="${pkgdir}" install
+}
+package_trinity-i18n-ta() {
+groups=('trinity-i18n')
+pkgdesc="Trinity Tamil localization"
+ msg "Packaging - $pkgname-$pkgver"
+ cd ${srcdir}/kde-i18n/$pkgname-3.5.10
+ make DESTDIR="${pkgdir}" install
+}
+package_trinity-i18n-te() {
+groups=('trinity-i18n')
+pkgdesc="Trinity Telgu localization"
+ msg "Packaging - $pkgname-$pkgver"
+ cd ${srcdir}/kde-i18n/$pkgname-3.5.10
+ make DESTDIR="${pkgdir}" install
+}
+package_trinity-i18n-tg() {
+groups=('trinity-i18n')
+pkgdesc="Trinity Tajik localization"
+ msg "Packaging - $pkgname-$pkgver"
+ cd ${srcdir}/kde-i18n/$pkgname-3.5.10
+ make DESTDIR="${pkgdir}" install
+}
+package_trinity-i18n-th() {
+groups=('trinity-i18n')
+pkgdesc="Trinity Thai localization"
+ msg "Packaging - $pkgname-$pkgver"
+ cd ${srcdir}/kde-i18n/$pkgname-3.5.10
+ make DESTDIR="${pkgdir}" install
+}
+package_trinity-i18n-tr() {
+groups=('trinity-i18n')
+pkgdesc="Trinity Turkish localization"
+ msg "Packaging - $pkgname-$pkgver"
+ cd ${srcdir}/kde-i18n/$pkgname-3.5.10
+ make DESTDIR="${pkgdir}" install
+}
+package_trinity-i18n-uk() {
+groups=('trinity-i18n')
+pkgdesc="Trinity Ukrainian localization"
+ msg "Packaging - $pkgname-$pkgver"
+ cd ${srcdir}/kde-i18n/$pkgname-3.5.10
+ make DESTDIR="${pkgdir}" install
+}
+package_trinity-i18n-uz() {
+groups=('trinity-i18n')
+pkgdesc="Trinity Uzbek localization"
+ msg "Packaging - $pkgname-$pkgver"
+ cd ${srcdir}/kde-i18n/$pkgname-3.5.10
+ make DESTDIR="${pkgdir}" install
+}
+package_trinity-i18n-uz-cyrillic() {
+groups=('trinity-i18n')
+pkgdesc="Trinity Uzbek cyrillic charset localization"
+ msg "Packaging - $pkgname-$pkgver"
+ cd ${srcdir}/kde-i18n/trinity-i18n-uz@cyrillic-3.5.10
+ make DESTDIR="${pkgdir}" install
+}
+package_trinity-i18n-vi() {
+groups=('trinity-i18n')
+pkgdesc="Trinity Vietnamese localization"
+ msg "Packaging - $pkgname-$pkgver"
+ cd ${srcdir}/kde-i18n/$pkgname-3.5.10
+ make DESTDIR="${pkgdir}" install
+}
+package_trinity-i18n-wa() {
+groups=('trinity-i18n')
+pkgdesc="Trinity Walloon localization"
+ msg "Packaging - $pkgname-$pkgver"
+ cd ${srcdir}/kde-i18n/$pkgname-3.5.10
+ make DESTDIR="${pkgdir}" install
+}
+package_trinity-i18n-zh_cn() {
+groups=('trinity-i18n')
+pkgdesc="Trinity Chinese Simplified localization"
+ msg "Packaging - $pkgname-$pkgver"
+ cd ${srcdir}/kde-i18n/trinity-i18n-zh_CN-3.5.10
+ make DESTDIR="${pkgdir}" install
+}
+package_trinity-i18n-zh_tw() {
+groups=('trinity-i18n')
+pkgdesc="Trinity Chinese Traditional localization"
+ msg "Packaging - $pkgname-$pkgver"
+ cd ${srcdir}/kde-i18n/trinity-i18n-zh_TW-3.5.10
+ make DESTDIR="${pkgdir}" install
+}
diff --git a/arch/3.5.13/trinity-extras/trinity-kdeaccessibility/PKGBUILD b/arch/3.5.13/trinity-extras/trinity-kdeaccessibility/PKGBUILD
new file mode 100644
index 000000000..cff62b43b
--- /dev/null
+++ b/arch/3.5.13/trinity-extras/trinity-kdeaccessibility/PKGBUILD
@@ -0,0 +1,51 @@
+# Maintainer: Pawel 'l0ner' Soltys <pwslts@gmail.com>
+# Contributor: Calvin Morrison <mutantturkey@gmail.com>
+
+pkgname=trinity-kdeaccessibility
+pkgver=3513
+pkgrel=1
+arch=('i686' 'x86_64')
+url='http://www.trinitydesktop.org'
+license=('GPL')
+groups=('trinity-extras')
+pkgdesc="Trinity accessibility tools"
+depends=('trinity-kdebase')
+makedepends=('pkgconfig' 'autoconf' 'automake')
+options=('libtool' '!strip')
+source=(http://mirror.ets.kth.se/trinity/releases/3.5.13/kdeaccessibility-3.5.13.tar.gz)
+md5sums=('ce31b01c1831046fb28aab172f2423bf')
+
+_prefix=/opt/trinity
+
+build() {
+
+ 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
+
+ #msg "Patching..."
+ #patch -N -d ${srcdir} -p0 < kdeaccessibility.patch
+
+ msg "Starting automake..."
+ cd "$srcdir/kdeaccessibility"
+ cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
+ cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh"
+ make -f admin/Makefile.common
+
+ msg "Starting configure..."
+ ./configure --with-qt-dir=${QTDIR} \
+ --prefix=${_prefix} \
+ --enable-closure \
+ --with-alsa \
+ --with-extra-includes=${_prefix}/include:/usr/include/dbus-1.0:${_prefix}/include/libkrandr \
+ --with-extra-libs=${_prefix}/lib:${_prefix}/lib/trinity:${_prefix}/pkgconfig
+
+ msg "Building ${pkgname}..."
+ make
+}
+
+package() {
+ msg "Packaging - $pkgname-$pkgver"
+ cd ${srcdir}/kdeaccesibility
+ make DESTDIR="${pkgdir}" install
+}
diff --git a/arch/3.5.13/trinity-extras/trinity-kdeaddons/PKGBUILD b/arch/3.5.13/trinity-extras/trinity-kdeaddons/PKGBUILD
new file mode 100644
index 000000000..abe0836fa
--- /dev/null
+++ b/arch/3.5.13/trinity-extras/trinity-kdeaddons/PKGBUILD
@@ -0,0 +1,55 @@
+# Maintainer: Pawel 'l0ner' Soltys <pwslts@gmail.com>
+# Contributor: Calvin Morrison <mutantturkey@gmail.com>
+
+pkgname=trinity-kdeaddons
+pkgver=3513
+pkgrel=1
+arch=('i686' 'x86_64')
+url='http://www.trinitydesktop.org'
+license=('GPL')
+groups=('trinity-extras')
+pkgdesc="Trinity DE addons collection"
+depends=('trinity-kdelibs' 'trinity-kdebase' 'xmms')
+makedepends=('pkgconfig' 'autoconf' 'automake')
+optdepends=()
+provides=($pkgname)
+conflicts=()
+replaces=()
+options=('libtool' '!strip')
+source=(http://mirror.ets.kth.se/trinity/releases/3.5.13/kdeaddons-3.5.13.tar.gz)
+md5sums=('f5fa96a5d99d1bc33600f609881eaee6')
+
+_prefix=/opt/trinity
+
+build() {
+
+ 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
+
+ #msg "Patching..."
+ #patch -N -d ${srcdir} -p0 < kdeaddons.patch
+
+ msg "Starting automake..."
+ cd "$srcdir/kdeaddons"
+ cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
+ cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh"
+ make -f admin/Makefile.common
+
+ msg "Starting configure..."
+ ./configure --with-qt-dir=${QTDIR} \
+ --prefix=${_prefix} \
+ --enable-closure \
+ --with-{sdl,xmms} \
+ --with-extra-includes=${_prefix}/include:/usr/include/dbus-1.0:${_prefix}/include/libkrandr \
+ --with-extra-libs=${_prefix}/lib:${_prefix}/lib/trinity:${_prefix}/pkgconfig
+
+ msg "Building ${pkgname}..."
+ make
+}
+
+package() {
+ msg "Packaging - $pkgname-$pkgver"
+ cd ${srcdir}/kdeaddons
+ make DESTDIR="${pkgdir}" install
+}
diff --git a/arch/3.5.13/trinity-extras/trinity-kdeadmin/PKGBUILD b/arch/3.5.13/trinity-extras/trinity-kdeadmin/PKGBUILD
new file mode 100644
index 000000000..69928cf46
--- /dev/null
+++ b/arch/3.5.13/trinity-extras/trinity-kdeadmin/PKGBUILD
@@ -0,0 +1,55 @@
+# Maintainer: Pawel 'l0ner' Soltys <pwslts@gmail.com>
+# Contributor: Calvin Morrison <mutantturkey@gmail.com>
+
+pkgname=trinity-kdeadmin
+pkgver=3513
+pkgrel=1
+arch=('i686' 'x86_64')
+url='http://www.trinitydesktop.org'
+license=('GPL')
+groups=('trinity-extras')
+pkgdesc="Trinity system administration utils"
+depends=('trinity-kdelibs')
+makedepends=('pkgconfig' 'autoconf' 'automake')
+optdepends=()
+provides=($pkgname)
+conflicts=()
+replaces=()
+options=('libtool' '!strip')
+source=(http://mirror.ets.kth.se/trinity/releases/3.5.13/kdeadmin-3.5.13.tar.gz)
+md5sums=('b8bbabf353070a3e730464e0ce2960e2')
+
+_prefix=/opt/trinity
+
+build() {
+
+ 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
+
+ #msg "Patching..."
+ #patch -N -d ${srcdir} -p0 < kdeadmin.patch
+
+ msg "Starting automake..."
+ cd "$srcdir/kdeadmin"
+ cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
+ cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh"
+ make -f admin/Makefile.common
+
+ msg "Starting configure..."
+ ./configure --with-qt-dir=${QTDIR} \
+ --prefix=${_prefix} \
+ --enable-closure \
+ --with-shadow \
+ --with-extra-includes=${_prefix}/include:/usr/include/dbus-1.0:${_prefix}/include/libkrandr \
+ --with-extra-libs=${_prefix}/lib:${_prefix}/lib/trinity:${_prefix}/pkgconfig
+
+ msg "Building ${pkgname}..."
+ make
+}
+
+package() {
+ msg "Packaging - $pkgname-$pkgver"
+ cd ${srcdir}/kdeadmin
+ make DESTDIR="${pkgdir}" install
+}
diff --git a/arch/3.5.13/trinity-extras/trinity-kdeartwork/PKGBUILD b/arch/3.5.13/trinity-extras/trinity-kdeartwork/PKGBUILD
new file mode 100644
index 000000000..18960152d
--- /dev/null
+++ b/arch/3.5.13/trinity-extras/trinity-kdeartwork/PKGBUILD
@@ -0,0 +1,49 @@
+# Maintainer: Pawel 'l0ner' Soltys <pwslts@gmail.com>
+# Contributor: Calvin Morrison <mutantturkey@gmail.com>
+
+pkgname=trinity-kdeartwork
+pkgver=3513
+pkgrel=1
+arch=('i686' 'x86_64')
+url='http://www.trinitydesktop.org'
+license=('GPL')
+groups=('trinity-extras')
+pkgdesc="Trinity artwork collection"
+depends=('trinity-kdebase' 'trinity-arts' 'xscreensaver' 'libart-lgpl' 'glproto')
+makedepends=('pkgconfig' 'cmake' 'imake')
+options=('libtool' '!strip')
+source=(http://mirror.ets.kth.se/trinity/releases/3.5.13/kdeartwork-3.5.13.tar.gz)
+md5sums=('24f85eb3e5a9106de48a3e81d2575ffe')
+
+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"
+
+ cd $srcdir
+ msg "Creating out-of-source build directory: ${srcdir}/build"
+ mkdir -p build
+ cd build
+
+ msg "Starting cmake..."
+ cmake ${srcdir}/kdeartwork \
+ -DCMAKE_INSTALL_PREFIX=${_prefix} \
+ -DCMAKE_VERBOSE_MAKEFILE=ON \
+ -DWITH_XSCREENSAVER=ON \
+ -DWITH_LIBART=ON \
+ -DWITH_OPENGL=ON \
+ -DWITH_ARTS=ON \
+ -DBUILD_ALL=ON
+ make
+}
+
+package() {
+ msg "Packaging - $pkgname-$pkgver"
+ cd ${srcdir}/build
+
+ make DESTDIR="$pkgdir/" install
+}
diff --git a/arch/3.5.13/trinity-extras/trinity-kdeedu/PKGBUILD b/arch/3.5.13/trinity-extras/trinity-kdeedu/PKGBUILD
new file mode 100644
index 000000000..9cb3418d7
--- /dev/null
+++ b/arch/3.5.13/trinity-extras/trinity-kdeedu/PKGBUILD
@@ -0,0 +1,50 @@
+# Maintainer: Pawel 'l0ner' Soltys <pwslts@gmail.com>
+# Contributor: Calvin Morrison <mutantturkey@gmail.com>
+
+pkgname=trinity-kdeedu
+pkgver=3513
+pkgrel=1
+arch=('i686' 'x86_64')
+url='http://www.trinitydesktop.org'
+license=('GPL')
+groups=('trinity-extras')
+pkgdesc="Trinity educational applications and tools"
+depends=('trinity-kdelibs')
+makedepends=('pkgconfig' 'autoconf' 'automake')
+options=('libtool' '!strip')
+source=(http://mirror.ets.kth.se/trinity/releases/3.5.13/kdeedu-3.5.13.tar.gz)
+md5sums=('37a14a67c4d00babc3015c6a31698cb0')
+
+_prefix=/opt/trinity
+
+build() {
+
+ 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
+
+ #msg "Patching..."
+ #patch -N -d ${srcdir} -p0 < kdeedu.patch
+
+ msg "Starting automake..."
+ cd "$srcdir/kdeedu"
+ cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
+ cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh"
+ make -f admin/Makefile.common
+
+ msg "Starting configure..."
+ ./configure --with-qt-dir=${QTDIR} \
+ --prefix=${_prefix} \
+ --enable-closure \
+ --with-extra-includes=${_prefix}/include:/usr/include/dbus-1.0:${_prefix}/include/libkrandr \
+ --with-extra-libs=${_prefix}/lib:${_prefix}/lib/trinity:${_prefix}/pkgconfig
+
+ msg "Building ${pkgname}..."
+ make
+}
+
+package() {
+ msg "Packaging - $pkgname-$pkgver"
+ cd ${srcdir}/kdeedu
+ make DESTDIR="${pkgdir}" install
+}
diff --git a/arch/3.5.13/trinity-extras/trinity-kdegames/PKGBUILD b/arch/3.5.13/trinity-extras/trinity-kdegames/PKGBUILD
new file mode 100644
index 000000000..8a6df3f6a
--- /dev/null
+++ b/arch/3.5.13/trinity-extras/trinity-kdegames/PKGBUILD
@@ -0,0 +1,50 @@
+# Maintainer: Pawel 'l0ner' Soltys <pwslts@gmail.com>
+# Contributor: Calvin Morrison <mutantturkey@gmail.com>
+
+pkgname=trinity-kdegames
+pkgver=3513
+pkgrel=1
+arch=('i686' 'x86_64')
+url='http://www.trinitydesktop.org'
+license=('GPL')
+groups=('trinity-extras')
+pkgdesc="Trinity games collection"
+depends=('trinity-kdelibs')
+makedepends=('pkgconfig' 'autoconf' 'automake')
+options=('libtool' '!strip')
+source=(http://mirror.ets.kth.se/trinity/releases/3.5.13/kdegames-3.5.13.tar.gz)
+md5sums=('6c63e161050939f53921bfceb923a19e')
+
+_prefix=/opt/trinity
+
+build() {
+
+ 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
+
+ #msg "Patching..."
+ #patch -N -d ${srcdir} -p0 < kdegames.patch
+
+ msg "Starting automake..."
+ cd "$srcdir/kdegames"
+ cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
+ cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh"
+ make -f admin/Makefile.common
+
+ msg "Starting configure..."
+ ./configure --with-qt-dir=${QTDIR} \
+ --prefix=${_prefix} \
+ --enable-closure \
+ --with-extra-includes=${_prefix}/include:/usr/include/dbus-1.0:${_prefix}/include/libkrandr \
+ --with-extra-libs=${_prefix}/lib:${_prefix}/lib/trinity:${_prefix}/pkgconfig
+
+ msg "Building ${pkgname}..."
+ make
+}
+
+package() {
+ msg "Packaging - $pkgname-$pkgver"
+ cd ${srcdir}/kdegames
+ make DESTDIR="${pkgdir}" install
+}
diff --git a/arch/3.5.13/trinity-extras/trinity-kdegraphics/GSmartPointer.h.patch b/arch/3.5.13/trinity-extras/trinity-kdegraphics/GSmartPointer.h.patch
new file mode 100644
index 000000000..4634f8ca0
--- /dev/null
+++ b/arch/3.5.13/trinity-extras/trinity-kdegraphics/GSmartPointer.h.patch
@@ -0,0 +1,10 @@
+--- kdegraphics/kviewshell/plugins/djvu/libdjvu/GSmartPointer.h
++++ kdegraphics/kviewshell/plugins/djvu/libdjvu/GSmartPointer.h 2011-05-08 11:47:20.000000000 -0500
+@@ -56,6 +56,7 @@
+
+ #ifndef _GSMARTPOINTER_H_
+ #define _GSMARTPOINTER_H_
++#include <cstddef>
+ #ifdef HAVE_CONFIG_H
+ #include "config.h"
+ #endif
diff --git a/arch/3.5.13/trinity-extras/trinity-kdegraphics/PKGBUILD b/arch/3.5.13/trinity-extras/trinity-kdegraphics/PKGBUILD
new file mode 100644
index 000000000..8f1ed8b4c
--- /dev/null
+++ b/arch/3.5.13/trinity-extras/trinity-kdegraphics/PKGBUILD
@@ -0,0 +1,66 @@
+# Maintainer: Pawel 'l0ner' Soltys <pwslts@gmail.com>
+# Contributor: Calvin Morrison <mutantturkey@gmail.com>
+
+pkgname=trinity-kdegraphics
+pkgver=3513
+pkgrel=1.0
+arch=('i686' 'x86_64')
+url='http://www.trinitydesktop.com'
+license=('GPL')
+groups=('trinity-extras')
+kgdesc="Trinity graphics applications and tools"
+depends=('trinity-kdebase' 'libart-lgpl' 'libgphoto2' 'libtiff' 'openexr' 't1lib' 'imlib' 'sane' 'lcms' 'poppler')
+makedepends=('pkgconfig' 'cmake' 'imake' 'fribidi')
+# 'poppler-qt'
+optdepends=('xscreensaver: Screen saver and locker for the X Window System')
+provides=('trinity-kdegraphics')
+conflicts=('trinity-kdegraphics')
+replaces=('trinity-kdegraphics')
+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
+
+ msg "Patching..."
+ patch -p0 -i ${srcdir}/ksnapshot.patch
+
+ cd $srcdir
+ msg "Creating out-of-source build directory: ${srcdir}/build"
+ mkdir -p build
+ cd build
+
+ msg "Starting cmake..."
+ cmake ${srcdir}/kdegraphics \
+ -DCMAKE_INSTALL_PREFIX=${_prefix} \
+ -DCMAKE_VERBOSE_MAKEFILE=ON \
+ -DQT_VERSION=3 \
+ -DCMAKE_CXX_FLAGS="-fpermissive" \
+ -DWITH_T1LIB=ON \
+ -DWITH_LIBPAPER=ON \
+ -DWITH_TIFF=ON \
+ -DWITH_OPENEXR=ON \
+ -DWITH_PDF=ON \
+ -DBUILD_ALL=ON
+ make
+
+# -DWITH_PDF=ON \ (waiting on poppler-qt3)
+}
+
+package() {
+ msg "Packaging - $pkgname-$pkgver"
+ cd ${srcdir}/build
+
+ make DESTDIR="$pkgdir" install
+
+ cd ${startdir}
+}
diff --git a/arch/3.5.13/trinity-extras/trinity-kdegraphics/ksnapshot.patch b/arch/3.5.13/trinity-extras/trinity-kdegraphics/ksnapshot.patch
new file mode 100644
index 000000000..5f7781771
--- /dev/null
+++ b/arch/3.5.13/trinity-extras/trinity-kdegraphics/ksnapshot.patch
@@ -0,0 +1,11 @@
+diff -u -r kdegraphics/ksnapshot/CMakeLists.txt src/kdegraphics/ksnapshot/CMakeLists.txt
+--- kdegraphics/ksnapshot/CMakeLists.txt 2011-06-19 21:15:42.000000000 +0200
++++ src/kdegraphics/ksnapshot/CMakeLists.txt 2012-01-23 23:02:15.000000000 +0100
+@@ -40,6 +40,6 @@
+ SOURCES
+ ksnapshotiface.skel main.cpp ksnapshot.cpp regiongrabber.cpp
+ windowgrabber.cpp ksnapshotwidget.ui
+- LINK kdeprint-shared
++ LINK kdeprint-shared Xext
+ DESTINATION ${BIN_INSTALL_DIR}
+ )
diff --git a/arch/3.5.13/trinity-extras/trinity-kdemultimedia/PKGBUILD b/arch/3.5.13/trinity-extras/trinity-kdemultimedia/PKGBUILD
new file mode 100644
index 000000000..12e75db87
--- /dev/null
+++ b/arch/3.5.13/trinity-extras/trinity-kdemultimedia/PKGBUILD
@@ -0,0 +1,61 @@
+# Maintainer: Pawel 'l0ner' Soltys <pwslts@gmail.com>
+# Contributor: Calvin Morrison <mutantturkey@gmail.com>
+
+pkgname=trinity-kdemultimedia
+pkgver=3513
+pkgrel=1
+arch=('i686' 'x86_64')
+url='http://www.trinitydesktop.org'
+license=('GPL')
+groups=('trinity-extras')
+pkgdesc="Trinity multimedia applications and tools"
+depends=('trinity-kdelibs' 'xine-lib' 'libvorbis' 'trinity-arts' 'alsa-lib' 'cdparanoia' 'lame' 'audiofile' 'libtheora' 'flac')
+makedepends=('pkgconfig' 'autoconf' 'automake')
+options=('libtool' '!strip')
+source=('http://mirror.ets.kth.se/trinity/releases/3.5.13/kdemultimedia-3.5.13.tar.gz' 'xine_artsplugin.patch')
+md5sums=('6d906b8a8fd0928e01ecd600175381c0' 'bb045d94e8dca80d73af4add43b7fc15')
+
+_prefix=/opt/trinity
+
+build() {
+
+ 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
+
+ msg "Patching..."
+ patch -p0 -i ${srcdir}/xine_artsplugin.patch
+
+ msg "Starting automake..."
+ cd "$srcdir/kdemultimedia"
+ cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
+ cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh"
+ make -f admin/Makefile.common
+
+ msg "Starting configure..."
+ ./configure --with-qt-dir=${QTDIR} \
+ --prefix=${_prefix} \
+ --with-extra-includes=${_prefix}/include:/usr/include/dbus-1.0:${_prefix}/include/libkrandr \
+ --with-extra-libs=${_prefix}/lib:${_prefix}/lib/trinity:${_prefix}/pkgconfig \
+ --enable-closure \
+ --with-vorbis \
+ --with-alsa \
+ --with-cdparanoia \
+ --with-lame \
+ --with-audiofile \
+ --with-theora \
+ --with-flac \
+ --with-kscd-cdda \
+ --with-xine
+ #--with-gstreamer
+ #--with-akode \
+
+ msg "Building ${pkgname}..."
+ make
+}
+
+package() {
+ msg "Packaging - $pkgname-$pkgver"
+ cd ${srcdir}/kdemultimedia
+ make DESTDIR="${pkgdir}" install
+}
diff --git a/arch/3.5.13/trinity-extras/trinity-kdemultimedia/xine_artsplugin.patch b/arch/3.5.13/trinity-extras/trinity-kdemultimedia/xine_artsplugin.patch
new file mode 100644
index 000000000..36f89bcfd
--- /dev/null
+++ b/arch/3.5.13/trinity-extras/trinity-kdemultimedia/xine_artsplugin.patch
@@ -0,0 +1,30 @@
+diff -u -r src/kdemultimedia/xine_artsplugin/xinePlayObject_impl.cpp kdemultimedia/xine_artsplugin/xinePlayObject_impl.cpp
+--- src/kdemultimedia/xine_artsplugin/xinePlayObject_impl.cpp 2012-01-24 00:34:05.000000000 +0100
++++ kdemultimedia/xine_artsplugin/xinePlayObject_impl.cpp 2011-08-13 08:18:23.000000000 +0200
+@@ -698,7 +698,7 @@
+
+ if (stream != 0)
+ {
+- xine_gui_send_vo_data( stream,
++ xine_port_send_gui_data( vo_port,
+ XINE_GUI_SEND_EXPOSE_EVENT,
+ &event );
+ }
+@@ -714,7 +714,7 @@
+
+ if (stream != 0)
+ {
+- xine_gui_send_vo_data( stream,
++ xine_port_send_gui_data( vo_port,
+ XINE_GUI_SEND_COMPLETION_EVENT,
+ &event );
+ }
+@@ -748,7 +748,7 @@
+ {
+ resizeNotify();
+
+- xine_gui_send_vo_data( stream,
++ xine_port_send_gui_data( vo_port,
+ XINE_GUI_SEND_DRAWABLE_CHANGED,
+ (void *)window );
+ }
diff --git a/arch/3.5.13/trinity-extras/trinity-kdenetwork/PKGBUILD b/arch/3.5.13/trinity-extras/trinity-kdenetwork/PKGBUILD
new file mode 100644
index 000000000..82d8bebab
--- /dev/null
+++ b/arch/3.5.13/trinity-extras/trinity-kdenetwork/PKGBUILD
@@ -0,0 +1,65 @@
+# Maintainer: Pawel 'l0ner' Soltys <pwslts@gmail.com>
+# Contributor: Calvin Morrison <mutantturkey@gmail.com>
+
+pkgname=trinity-kdenetwork
+pkgver=3513
+pkgrel=1
+arch=('i686' 'x86_64')
+url='http://www.trinitydesktop.org'
+license=('GPL')
+groups=('trinity-extras')
+pkgdesc="Trinity network utilities"
+depends=('trinity-kdebase'
+ 'trinity-arts'
+ 'speex' 'wireless_tools'
+ 'gsmlib-git'
+ 'libgadu'
+ 'meanwhile'
+ 'sqlite3'
+ 'libidn'
+ 'v4l-utils')
+makedepends=('pkgconfig' 'cmake' 'imake')
+options=('libtool' '!strip')
+source=('http://mirror.ets.kth.se/trinity/releases/3.5.13/kdenetwork-3.5.13.tar.gz' 'kdenetwork.patch')
+md5sums=('349f197c9af4bf0d9b8773f26829415e'
+ 'ee468902b7c40ac1cc86cbaababa35dc')
+
+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"
+
+ 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
+ mv ${srcdir}/kdenetwork/kopete/protocols/jabber/jingle/libjingle/talk/xmllite/qname.h ${srcdir}/kdenetwork/kopete/protocols/jabber/jingle/libjingle/talk/xmllite/tqname.h
+
+ cd $srcdir
+ msg "Creating out-of-source build directory: ${srcdir}/build"
+ mkdir -p build
+ cd build
+
+ msg "Starting cmake..."
+ cmake ${srcdir}/kdenetwork \
+ -DCMAKE_INSTALL_PREFIX=${_prefix} \
+ -DCMAKE_VERBOSE_MAKEFILE=ON \
+ -DWITH_JINGLE=ON \
+ -DWITH_SPEEX=ON \
+ -DWITH_WEBCAM=ON \
+ -DWITH_GSM=ON \
+ -DWITH_ARTS=ON \
+ -DBUILD_KOPETE_PROTOCOL_ALL=ON \
+ -DBUILD_KOPETE_PLUGIN_ALL=ON \
+ -DBUILD_ALL=ON
+ make
+}
+
+package() {
+ msg "Packaging - $pkgname-$pkgver"
+ cd ${srcdir}/build
+
+ make DESTDIR="$pkgdir/" install
+}
diff --git a/arch/3.5.13/trinity-extras/trinity-kdenetwork/kdenetwork.patch b/arch/3.5.13/trinity-extras/trinity-kdenetwork/kdenetwork.patch
new file mode 100644
index 000000000..7da894f5f
--- /dev/null
+++ b/arch/3.5.13/trinity-extras/trinity-kdenetwork/kdenetwork.patch
@@ -0,0 +1,97 @@
+diff -u -r kdenetwork/kopete/plugins/motionautoaway/motionawayplugin.cpp src/kdenetwork/kopete/plugins/motionautoaway/motionawayplugin.cpp
+--- kdenetwork/kopete/plugins/motionautoaway/motionawayplugin.cpp 2011-08-12 22:11:02.000000000 +0200
++++ src/kdenetwork/kopete/plugins/motionautoaway/motionawayplugin.cpp 2011-12-15 23:25:02.000000000 +0100
+@@ -75,7 +75,7 @@
+ #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,50)
+ #define _LINUX_TIME_H
+ #endif
+-#include <linux/videodev.h>
++#include <libv4l1-videodev.h>
+
+ #define DEF_WIDTH 352
+ #define DEF_HEIGHT 288
+diff -u -r kdenetwork/kopete/protocols/jabber/CMakeLists.txt src/kdenetwork/kopete/protocols/jabber/CMakeLists.txt
+--- kdenetwork/kopete/protocols/jabber/CMakeLists.txt 2011-06-22 03:37:12.000000000 +0200
++++ src/kdenetwork/kopete/protocols/jabber/CMakeLists.txt 2011-12-15 22:56:58.000000000 +0100
+@@ -80,6 +80,6 @@
+ jabberclient-static kopetejabberui-static
+ iris_jabber-static iris_xmpp_core-static iris_xmpp_im-static iris-static
+ qca-static cutestuff_network-static cutestuff_util-static ${JINGLE_LIBRARIES}
+- kopete-shared
++ kopete-shared idn
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+ )
+diff -u -r kdenetwork/kopete/protocols/jabber/jingle/libjingle/talk/base/sigslot.h src/kdenetwork/kopete/protocols/jabber/jingle/libjingle/talk/base/sigslot.h
+--- kdenetwork/kopete/protocols/jabber/jingle/libjingle/talk/base/sigslot.h 2011-06-22 03:37:10.000000000 +0200
++++ src/kdenetwork/kopete/protocols/jabber/jingle/libjingle/talk/base/sigslot.h 2011-12-15 22:56:58.000000000 +0100
+@@ -80,6 +80,7 @@
+
+ #include <set>
+ #include <list>
++#include <stdlib.h>
+
+ // On our copy of sigslot.h, we force single threading
+ #define SIGSLOT_PURE_ISO
+diff -u -r kdenetwork/kopete/protocols/jabber/kioslave/CMakeLists.txt src/kdenetwork/kopete/protocols/jabber/kioslave/CMakeLists.txt
+--- kdenetwork/kopete/protocols/jabber/kioslave/CMakeLists.txt 2011-06-22 03:37:08.000000000 +0200
++++ src/kdenetwork/kopete/protocols/jabber/kioslave/CMakeLists.txt 2011-12-15 22:56:58.000000000 +0100
+@@ -35,7 +35,7 @@
+ tde_add_kpart( kio_jabberdisco AUTOMOC
+ SOURCES jabberdisco.cpp
+ LINK
+- jabberclient-static
++ jabberclient-static idn
+ iris_xmpp_core-static iris_xmpp_im-static iris_jabber-static iris-static
+ qca-static cutestuff_network-static cutestuff_util-static kio-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+diff -u -r kdenetwork/kopete/protocols/msn/CMakeLists.txt src/kdenetwork/kopete/protocols/msn/CMakeLists.txt
+--- kdenetwork/kopete/protocols/msn/CMakeLists.txt 2011-06-22 03:37:22.000000000 +0200
++++ src/kdenetwork/kopete/protocols/msn/CMakeLists.txt 2011-12-15 22:56:58.000000000 +0100
+@@ -47,7 +47,7 @@
+
+ tde_add_kpart( kopete_msn AUTOMOC
+ SOURCES
+- dummy.cpp webcam.cpp
++ webcam.cpp
+ LINK kopete_msn_shared-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+ )
+diff -u -r kdenetwork/kopete/protocols/msn/msnswitchboardsocket.cpp src/kdenetwork/kopete/protocols/msn/msnswitchboardsocket.cpp
+--- kdenetwork/kopete/protocols/msn/msnswitchboardsocket.cpp 2011-08-12 22:11:37.000000000 +0200
++++ src/kdenetwork/kopete/protocols/msn/msnswitchboardsocket.cpp 2011-12-15 22:56:58.000000000 +0100
+@@ -54,7 +54,7 @@
+ #include "kopetemessage.h"
+ #include "kopetecontact.h"
+ #include "kopeteuiglobal.h"
+-#include "kopeteemoticons.h"
++#include "private/kopeteemoticons.h"
+ //#include "kopeteaccountmanager.h"
+ //#include "kopeteprotocol.h"
+
+diff -u -r kdenetwork/kopete/protocols/sms/services/smsclient.cpp src/kdenetwork/kopete/protocols/sms/services/smsclient.cpp
+--- kdenetwork/kopete/protocols/sms/services/smsclient.cpp 2011-08-12 22:11:13.000000000 +0200
++++ src/kdenetwork/kopete/protocols/sms/services/smsclient.cpp 2011-12-15 22:56:58.000000000 +0100
+@@ -67,7 +67,7 @@
+ return;
+ }
+
+- TQString programName = c->readEntry(TQString("%1:%2").tqarg("SMSClient").tqarg("ProgramName"). TQString());
++ TQString programName = c->readEntry(TQString("%1:%2").tqarg("SMSClient").tqarg("ProgramName"));
+ if (programName.isNull())
+ programName = "/usr/bin/sms_client";
+
+diff -u -r kdenetwork/kopete/protocols/jabber/jingle/libjingle/talk/xmllite/CMakeLists.txt src/kdenetwork/kopete/protocols/jabber/jingle/libjingle/talk/xmllite/CMakeLists.txt
+--- kdenetwork/kopete/protocols/jabber/jingle/libjingle/talk/xmllite/CMakeLists.txt 2011-06-22 03:37:11.000000000 +0200
++++ src/kdenetwork/kopete/protocols/jabber/jingle/libjingle/talk/xmllite/CMakeLists.txt 2012-01-24 12:10:06.000000000 +0100
+@@ -23,6 +23,6 @@
+
+ tde_add_library( cricketxmllite STATIC_PIC
+ SOURCES
+- qname.cc xmlbuilder.cc xmlconstants.cc xmlelement.cc xmlnsstack.cc
++ tqname.cc xmlbuilder.cc xmlconstants.cc xmlelement.cc xmlnsstack.cc
+ xmlparser.cc xmlprinter.cc
+ )
+Only in kdenetwork/kopete/protocols/jabber/jingle/libjingle/talk/xmllite: qname.cc
+Only in kdenetwork/kopete/protocols/jabber/jingle/libjingle/talk/xmllite: qname.h
+Only in src/kdenetwork/kopete/protocols/jabber/jingle/libjingle/talk/xmllite: tqname.cc
+Only in src/kdenetwork/kopete/protocols/jabber/jingle/libjingle/talk/xmllite: tqname.h
diff --git a/arch/3.5.13/trinity-extras/trinity-kdepim/PKGBUILD b/arch/3.5.13/trinity-extras/trinity-kdepim/PKGBUILD
new file mode 100644
index 000000000..7a49f3bcf
--- /dev/null
+++ b/arch/3.5.13/trinity-extras/trinity-kdepim/PKGBUILD
@@ -0,0 +1,78 @@
+# Maintainer: Pawel 'l0ner' Soltys <pwslts@gmail.com>
+# Contributor: Calvin Morrison <mutantturkey@gmail.com>
+
+pkgname=trinity-kdepim
+pkgver=3513
+pkgrel=1.0
+arch=('i686' 'x86_64')
+url='http://www.trinitydesktop.com'
+license=('GPL')
+groups=('trinity-extras')
+pkgdesc="Trinity Personal Information Management suite"
+depends=('trinity-kdebase'
+ 'gpgme'
+ 'boost'
+ 'gnokii' 'poppler'
+ 'trinity-libcaldav'
+ 'trinity-libcarddav')
+makedepends=('pkgconfig' 'cmake' 'imake' 'fribidi')
+# 'poppler-qt'
+provides=('trinity-kdepim')
+conflicts=('trinity-kdepim')
+replaces=('trinity-kdepim')
+options=('libtool' '!strip')
+source=('http://mirror.ets.kth.se/trinity/releases/3.5.13/kdepim-3.5.13.tar.gz')
+source=('http://anduin.linuxfromscratch.org/sources/trinity/kdepim-3.5.13.tar.gz')
+md5sums=('4488062d5400bdd99642fe0b72ebcf9a')
+
+_prefix="/opt/trinity"
+
+build() {
+
+ msg "Setting PATH, CMAKE and Trinity Environment variables"
+ export CMAKE_PREFIX_PATH=/opt/qt:/opt/trinity
+ . /etc/profile.d/qt3.sh
+
+ 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
+ export LD_LIBRARY_PATH=/opt/trinity/lib:/opt/trinity/lib/kde3:$LD_LIBRARY_PATH
+ export PKG_CONFIG_PATH=:/opt/trinity/lib/pkgconfig:/opt/qt/lib/pkgconfig
+
+ cd $srcdir
+ msg "Creating out-of-source build directory: ${srcdir}/build"
+ mkdir -p build
+ cd build
+
+ msg "Starting cmake..."
+ cmake ${srcdir}/kdepim \
+ -DCMAKE_INSTALL_PREFIX=${_prefix} \
+ -DCMAKE_VERBOSE_MAKEFILE=ON \
+ -DWITH_SASL=ON \
+ -DWITH_NEWDISTRLISTS=ON \
+ -DWITH_GNOKII=ON \
+ -DWITH_EXCHANGE=ON \
+ -DWITH_EGROUPWARE=ON \
+ -DWITH_KOLAB=ON \
+ -DWITH_SLOX=ON \
+ -DWITH_GROUPWISE=ON \
+ -DWITH_FEATUREPLAN=ON \
+ -DWITH_GROUPDAV=ON \
+ -DWITH_BIRTHDAYS=ON \
+ -DWITH_NEWEXCHANGE=ON \
+ -DWITH_SCALIX=ON \
+ -DWITH_CALDAV=ON \
+ -DWITH_CARDDAV=ON \
+ -DWITH_INDEXLIB=ON \
+ -DWITH_ARTS=ON \
+ -DBUILD_ALL=ON
+ make
+
+}
+
+package() {
+ msg "Packaging - $pkgname-$pkgver"
+ cd ${srcdir}/build
+
+ make DESTDIR="$pkgdir" install
+
+ cd ${startdir}
+}
diff --git a/arch/3.5.13/trinity-extras/trinity-kdesdk/PKGBUILD b/arch/3.5.13/trinity-extras/trinity-kdesdk/PKGBUILD
new file mode 100644
index 000000000..ace4fc543
--- /dev/null
+++ b/arch/3.5.13/trinity-extras/trinity-kdesdk/PKGBUILD
@@ -0,0 +1,81 @@
+# Maintainer: Pawel 'l0ner' Soltys <pwslts@gmail.com>
+# Contributor: Calvin Morrison <mutantturkey@gmail.com>
+
+pkgname=trinity-kdesdk
+pkgver=3513
+pkgrel=1
+arch=('i686' 'x86_64')
+url='http://www.trinitydesktop.org'
+license=('GPL')
+groups=('trinity-extras')
+pkgdesc="Trinity Software Developement Kit"
+depends=('trinity-kdebase' 'subversion')
+makedepends=('pkgconfig' 'cmake' 'imake')
+options=('libtool' '!strip')
+source=('http://mirror.ets.kth.se/trinity/releases/3.5.13/kdesdk-3.5.13.tar.gz' 'kdesdk.patch')
+source=('http://anduin.linuxfromscratch.org/sources/trinity/kdesdk-3.5.13.tar.gz' 'kdesdk.patch')
+md5sums=('130662f683be1a49d56a713c5ae87e46'
+ 'a1d0b533ae427847bd84e601c587f882')
+
+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:/opt/trinity/include/kde
+ export LD_LIBRARY_PATH=/opt/trinity/lib:/opt/trinity/lib/kde:$LD_LIBRARY_PATH
+ export PKG_CONFIG_PATH=:/opt/qt/lib/pkgconfig
+
+ _prefix="/opt/trinity"
+
+ patch -N -d ${srcdir} -p0 < kdesdk.patch
+
+ cd $srcdir/kdesdk
+
+ msg "Starting configure..."
+
+ cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
+ cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh"
+ make -f admin/Makefile.common
+
+ msg "Starting configure..."
+ ./configure --with-qt-dir=${QTDIR} \
+ --prefix=${_prefix} \
+ --enable-closure \
+ --with-extra-includes=${_prefix}/include:/usr/include/dbus-1.0:${_prefix}/include/libkrandr \
+ --with-extra-libs=${_prefix}/lib:${_prefix}/lib/trinity:${_prefix}/pkgconfig \
+ --with-berkeley-db \
+ --with-subversion
+
+ make
+
+
+ #msg "Starting cmake..."
+ #cmake ${srcdir}/kdesdk \
+ # -DCMAKE_INSTALL_PREFIX=${_prefix} \
+ # -DCMAKE_VERBOSE_MAKEFILE=ON \
+ # -DWITH_DBSEARCHENGINE=ON \
+ # -DWITH_KCAL=ON \
+ # -DBUILD_ALL=ON
+ #make
+
+ #--with-berkeley-db enable the dictionary plugin based on Berkeley DB IV
+ #--with-db-dir=DIR where the root of Berkeley DB IV is installed
+ #--with-db-include-dir=DIR where the includes of Berkeley DB IV are installed
+ #--with-db-include=FILE path to the Berkeley DB IV header file
+ #--with-db-lib-dir=DIR where the libs of Berkeley DB IV are installed
+ #--with-db-name=NAME name of the Berkeley DB IV library (default db)
+
+ #--with-subversion enable support for subversion [default=check]
+ #--with-apr-config=FILE Use the given path to apr-config when determining APR configuration; defaults to "apr-config"
+ #--with-apu-config=FILE Use the given path to apu-config when determining APR util configuration; defaults to "apu-config"
+ #--with-subversion-dir=DIR where Subversion is installed
+ #--with-svn-include=DIR Use the given path to the subversion headers.
+ #--with-svn-lib=DIR
+
+}
+
+package() {
+ msg "Packaging - $pkgname-$pkgver"
+ cd ${srcdir}/kdesdk
+
+ make DESTDIR="$pkgdir" install
+}
diff --git a/arch/3.5.13/trinity-extras/trinity-kdesdk/kdesdk.patch b/arch/3.5.13/trinity-extras/trinity-kdesdk/kdesdk.patch
new file mode 100644
index 000000000..96018c87a
--- /dev/null
+++ b/arch/3.5.13/trinity-extras/trinity-kdesdk/kdesdk.patch
@@ -0,0 +1,13 @@
+diff -u -r kdesdk/kbabel/common/libgettext/CMakeLists.txt src/kdesdk/kbabel/common/libgettext/CMakeLists.txt
+--- kdesdk/kbabel/common/libgettext/CMakeLists.txt 2011-06-12 06:48:47.000000000 +0200
++++ src/kdesdk/kbabel/common/libgettext/CMakeLists.txt 2011-12-16 13:36:08.000000000 +0100
+@@ -20,7 +20,7 @@
+ ##### pofiles.cc (source) #######################
+
+ add_custom_command( OUTPUT pofiles.cpp
+- COMMAND ${LEX_EXECUTABLE} -+ -opofiles.cpp ${CMAKE_CURRENT_SOURCE_DIR}/pofiles.ll
++ COMMAND /usr/bin/flex -+ -opofiles.cpp ${CMAKE_CURRENT_SOURCE_DIR}/pofiles.ll
+ )
+
+
+Only in src/kdesdk/kbabel/common/libgettext: .CMakeLists.txt.swp
diff --git a/arch/3.5.13/trinity-extras/trinity-kdetoys/PKGBUILD b/arch/3.5.13/trinity-extras/trinity-kdetoys/PKGBUILD
new file mode 100644
index 000000000..1de2a3b95
--- /dev/null
+++ b/arch/3.5.13/trinity-extras/trinity-kdetoys/PKGBUILD
@@ -0,0 +1,47 @@
+# Maintainer: Pawel 'l0ner' Soltys <pwslts@gmail.com>
+# Contributor: Calvin Morrison <mutantturkey@gmail.com>
+
+pkgname=trinity-kdetoys
+pkgver=3513
+pkgrel=1
+arch=('i686' 'x86_64')
+url='http://www.trinitydesktop.org'
+license=('GPL')
+groups=('trinity-extras')
+pkgdesc="Trinity toys collection"
+depends=('trinity-kdelibs')
+makedepends=('pkgconfig' 'autoconf' 'automake')
+options=('libtool' '!strip')
+source=(http://mirror.ets.kth.se/trinity/releases/3.5.13/kdetoys-3.5.13.tar.gz)
+md5sums=('823dd778c1e9e15972a509f4eee4434d')
+
+_prefix=/opt/trinity
+
+build() {
+
+ 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
+
+ msg "Starting automake..."
+ cd "$srcdir/kdetoys"
+ cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
+ cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh"
+ make -f admin/Makefile.common
+
+ msg "Starting configure..."
+ ./configure --with-qt-dir=${QTDIR} \
+ --prefix=${_prefix} \
+ --enable-closure \
+ --with-extra-includes=${_prefix}/include:/usr/include/dbus-1.0:${_prefix}/include/libkrandr \
+ --with-extra-libs=${_prefix}/lib:${_prefix}/lib/trinity:${_prefix}/pkgconfig
+
+ msg "Building ${pkgname}..."
+ make
+}
+
+package() {
+ msg "Packaging - $pkgname-$pkgver"
+ cd ${srcdir}/kdetoys
+ make DESTDIR="${pkgdir}" install
+}
diff --git a/arch/3.5.13/trinity-extras/trinity-kdeutils/PKGBUILD b/arch/3.5.13/trinity-extras/trinity-kdeutils/PKGBUILD
new file mode 100644
index 000000000..38633c7fd
--- /dev/null
+++ b/arch/3.5.13/trinity-extras/trinity-kdeutils/PKGBUILD
@@ -0,0 +1,50 @@
+# Maintainer: Pawel 'l0ner' Soltys <pwslts@gmail.com>
+# Contributor: Calvin Morrison <mutantturkey@gmail.com>
+
+pkgname=trinity-kdeutils
+pkgver=3513
+pkgrel=1
+arch=('i686' 'x86_64')
+url='http://www.trinitydesktop.org'
+license=('GPL')
+groups=('trinity-extras')
+pkgdesc="Trinity TDE utilities collection"
+depends=('trinity-kdelibs')
+makedepends=('pkgconfig' 'autoconf' 'automake')
+options=('libtool' '!strip')
+source=(http://mirror.ets.kth.se/trinity/releases/3.5.13/kdeutils-3.5.13.tar.gz)
+md5sums=('e2cd6695606c5c91b3380dcc7f1a6a83')
+
+_prefix=/opt/trinity
+
+build() {
+
+ 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
+
+
+ msg "Starting automake..."
+ cd "$srcdir/kdeutils"
+ cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
+ cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh"
+ make -f admin/Makefile.common
+
+ msg "Starting configure..."
+ ./configure --with-qt-dir=${QTDIR} \
+ --prefix=${_prefix} \
+ --enable-closure \
+ --with-extra-includes=${_prefix}/include:/usr/include/dbus-1.0:${_prefix}/include/libkrandr \
+ --with-extra-libs=${_prefix}/lib:${_prefix}/lib/trinity:${_prefix}/pkgconfig
+ #--with-xmms
+ #--with-snmp \
+
+ msg "Building ${pkgname}..."
+ make
+}
+
+package() {
+ msg "Packaging - $pkgname-$pkgver"
+ cd ${srcdir}/kdeutils
+ make DESTDIR="${pkgdir}" install
+}
diff --git a/arch/3.5.13/trinity-extras/trinity-kdevelop/PKGBUILD b/arch/3.5.13/trinity-extras/trinity-kdevelop/PKGBUILD
new file mode 100644
index 000000000..2e3945c16
--- /dev/null
+++ b/arch/3.5.13/trinity-extras/trinity-kdevelop/PKGBUILD
@@ -0,0 +1,56 @@
+# Maintainer: Pawel 'l0ner' Soltys <pwslts@gmail.com>
+# Contributor: Calvin Morrison <mutantturkey@gmail.com>
+
+pkgname=trinity-kdevelop
+pkgver=12345
+pkgrel=1.0
+arch=('i686' 'x86_64')
+url='http://www.trinitydesktop.org'
+license=('GPL')
+groups=('trinity-extras')
+pkgdesc="Trinity Developement tools"
+depends=('trinity-kdebase')
+makedepends=('pkgconfig' 'cmake' 'imake')
+options=('libtool' '!strip')
+source=('http://mirror.ets.kth.se/trinity/releases/3.5.13/kdevelop-3.5.13.tar.gz' 'kdevelop.patch')
+md5sums=('777bd77e4f2dc6a5b5b45a370dcf6da0'
+ 'ab23854b1658adc1da4621cb589ec1be')
+
+build() {
+
+ msg "Setting PATH, CMAKE and Trinity Environment variables"
+ export CMAKE_PREFIX_PATH=/opt/qt:/opt/trinity
+ CMAKE_INCLUDE_PATH=/opt/qt/include:/opt/qt/include/tqt:/usr/include/dbus-1.0:/opt/trinity/include:/opt/trinity/include/libkrandr
+ export LD_LIBRARY_PATH=/opt/trinity/lib:/opt/trinity/lib/kde3:$LD_LIBRARY_PATH
+ export PKG_CONFIG_PATH=:/opt/trinity/lib/pkgconfig:/opt/qt/lib/pkgconfig
+
+ _prefix="/opt/trinity"
+
+ msg "Patching..."
+ # apply second part of Francois Andriot patch
+ patch -p0 -i ${srcdir}/kdevelop.patch
+
+ cd $srcdir
+ msg "Creating out-of-source build directory: ${srcdir}/build"
+ mkdir -p build
+ cd build
+
+ msg "Starting cmake..."
+ cmake ${srcdir}/kdevelop \
+ -DCMAKE_INSTALL_PREFIX=${_prefix} \
+ -DCMAKE_VERBOSE_MAKEFILE=ON \
+ -DQT_VERSION=3 \
+ -DWITH_QT3=ON \
+ -DQTDIR=/opt/qt \
+ -DQT_DOCDIR=/opt/qt/man \
+ -DQT_LIBRARY_DIRS=/opt/qt/lib \
+ -DBUILD_ALL=ON
+ make
+}
+
+package() {
+ msg "Packaging - $pkgname-$pkgver"
+ cd ${srcdir}/build
+
+ make DESTDIR="$pkgdir/" install
+}
diff --git a/arch/3.5.13/trinity-extras/trinity-kdevelop/kdevelop.patch b/arch/3.5.13/trinity-extras/trinity-kdevelop/kdevelop.patch
new file mode 100644
index 000000000..14079908c
--- /dev/null
+++ b/arch/3.5.13/trinity-extras/trinity-kdevelop/kdevelop.patch
@@ -0,0 +1,12 @@
+--- kdevelop/kdevdesigner/designer/listeditor.ui.h.ORI 2011-10-30 13:30:56.655489268 +0100
++++ kdevelop/kdevdesigner/designer/listeditor.ui.h 2011-10-30 13:31:00.782489292 +0100
+@@ -30,7 +30,7 @@
+ {
+ QListViewItem *i = new QListViewItem( listview, listview->lastItem() );
+ i->setRenameEnabled( 0, TRUE );
+- tqApp->processEvents();
++ qApp->processEvents();
+ i->startRename( 0 );
+ }
+
+
diff --git a/arch/3.5.13/trinity-extras/trinity-kdewebdev/PKGBUILD b/arch/3.5.13/trinity-extras/trinity-kdewebdev/PKGBUILD
new file mode 100644
index 000000000..49e067fd6
--- /dev/null
+++ b/arch/3.5.13/trinity-extras/trinity-kdewebdev/PKGBUILD
@@ -0,0 +1,47 @@
+# Maintainer: Pawel 'l0ner' Soltys <pwslts@gmail.com>
+# Contributor: Calvin Morrison <mutantturkey@gmail.com>
+
+pkgname=trinity-webdev
+pkgver=3513
+pkgrel=1
+arch=('i686' 'x86_64')
+url='http://www.trinitydesktop.org'
+license=('GPL')
+groups=('trinity-extras')
+pkgdesc="Trinity Web development tools"
+depends=('trinity-kdebase')
+makedepends=('pkgconfig' 'cmake' 'imake')
+options=('libtool' '!strip')
+source=('http://mirror.ets.kth.se/trinity/releases/3.5.13/kdewebdev-3.5.13.tar.gz' 'kdewebdev.patch')
+md5sums=('4f56a6c4b5916615ca3615f8e8f868c6'
+ '5ef6636db45e35d6dcda35332bdca931')
+
+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"
+
+ patch -N -d ${srcdir} -p0 < kdewebdev.patch
+
+ cd $srcdir
+ msg "Creating out-of-source build directory: ${srcdir}/build"
+ mkdir -p build
+ cd build
+
+ msg "Starting cmake..."
+ cmake ${srcdir}/kdewebdev \
+ -DCMAKE_INSTALL_PREFIX=${_prefix} \
+ -DCMAKE_VERBOSE_MAKEFILE=ON \
+ -DBUILD_ALL=ON
+ make
+}
+
+package() {
+ msg "Packaging - $pkgname-$pkgver"
+ cd ${srcdir}/build
+ make DESTDIR="$pkgdir/" install
+}
diff --git a/arch/3.5.13/trinity-extras/trinity-kdewebdev/kdewebdev.patch b/arch/3.5.13/trinity-extras/trinity-kdewebdev/kdewebdev.patch
new file mode 100644
index 000000000..9d50197bf
--- /dev/null
+++ b/arch/3.5.13/trinity-extras/trinity-kdewebdev/kdewebdev.patch
@@ -0,0 +1,22 @@
+diff -u -r kdewebdev/quanta/CMakeLists.txt src/kdewebdev/quanta/CMakeLists.txt
+--- kdewebdev/quanta/CMakeLists.txt 2011-06-16 21:11:44.000000000 +0200
++++ src/kdewebdev/quanta/CMakeLists.txt 2011-12-16 15:58:35.000000000 +0100
+@@ -18,6 +18,6 @@
+ add_subdirectory( messages )
+ add_subdirectory( plugins )
+ add_subdirectory( parts )
+-add_subdirectory( project )
++add_subdirectory( "project" )
+ add_subdirectory( src )
+ add_subdirectory( scripts )
+diff -u -r kdewebdev/quanta/project/CMakeLists.txt src/kdewebdev/quanta/project/CMakeLists.txt
+--- kdewebdev/quanta/project/CMakeLists.txt 2011-06-16 21:11:28.000000000 +0200
++++ src/kdewebdev/quanta/project/CMakeLists.txt 2011-12-16 16:00:15.000000000 +0100
+@@ -15,6 +15,7 @@
+ ${CMAKE_SOURCE_DIR}/lib
+ ${CMAKE_SOURCE_DIR}/quanta/src
+ ${CMAKE_SOURCE_DIR}/quanta/parsers
++ ${CMAKE_SOURCE_DIR}/quanta/project
+ ${CMAKE_SOURCE_DIR}/quanta/utility
+ ${CMAKE_SOURCE_DIR}/quanta/treeviews
+ ${CMAKE_SOURCE_DIR}/quanta/dialogs
diff --git a/arch/3.5.13/trinity-extras/trinity-libcaldav/Changelog.patch b/arch/3.5.13/trinity-extras/trinity-libcaldav/Changelog.patch
new file mode 100644
index 000000000..db579b99b
--- /dev/null
+++ b/arch/3.5.13/trinity-extras/trinity-libcaldav/Changelog.patch
@@ -0,0 +1,12 @@
+--- libcaldav-0.6.5/ChangeLog
++++ libcaldav-0.6.5/ChangeLog 2011-05-08 00:56:11.000000000 -0500
+@@ -1,3 +1,9 @@
++libcaldav (0.6.5)
++ * Fix bug to be able to integrate the debian libcaldav
++ source with Arch PKGBUILD Patch provided by Timothy Pearson
++
++-- David Rankin <drankinatty@gmail.com> Sun, 8 May 2011 22:51:03 +0100
++
+ libcaldav (0.6.2)
+ * Fix bug to be able to handle HTTP HEADER lines split
+ over multiple lines. Patch provided by Timothy Pearson
diff --git a/arch/3.5.13/trinity-extras/trinity-libcaldav/Makefile.am.patch b/arch/3.5.13/trinity-extras/trinity-libcaldav/Makefile.am.patch
new file mode 100644
index 000000000..37a673219
--- /dev/null
+++ b/arch/3.5.13/trinity-extras/trinity-libcaldav/Makefile.am.patch
@@ -0,0 +1,11 @@
+--- libcaldav-0.6.5/src/Makefile.am
++++ libcaldav-0.6.5/src/Makefile.am 2011-05-08 01:16:47.000000000 -0500
+@@ -37,7 +37,7 @@
+ get-freebusy-report.c \
+ get-freebusy-report.h
+
+-libcaldav_includedir=$(includedir)/libcaldav-@VERSION@
++libcaldav_includedir=$(includedir)/libcaldav
+ libcaldav_include_HEADERS = caldav.h
+
+ noinst_HEADERS = \
diff --git a/arch/3.5.13/trinity-extras/trinity-libcaldav/Makefile.in.patch b/arch/3.5.13/trinity-extras/trinity-libcaldav/Makefile.in.patch
new file mode 100644
index 000000000..cb0ad466a
--- /dev/null
+++ b/arch/3.5.13/trinity-extras/trinity-libcaldav/Makefile.in.patch
@@ -0,0 +1,11 @@
+--- libcaldav-0.6.5/src/Makefile.in
++++ libcaldav-0.6.5/src/Makefile.in 2011-05-08 01:16:15.000000000 -0500
+@@ -284,7 +284,7 @@
+ get-freebusy-report.c \
+ get-freebusy-report.h
+
+-libcaldav_includedir = $(includedir)/libcaldav-@VERSION@
++libcaldav_includedir = $(includedir)/libcaldav
+ libcaldav_include_HEADERS = caldav.h
+ noinst_HEADERS = \
+ add-caldav-object.h \
diff --git a/arch/3.5.13/trinity-extras/trinity-libcaldav/PKGBUILD b/arch/3.5.13/trinity-extras/trinity-libcaldav/PKGBUILD
new file mode 100644
index 000000000..933a98c7d
--- /dev/null
+++ b/arch/3.5.13/trinity-extras/trinity-libcaldav/PKGBUILD
@@ -0,0 +1,45 @@
+# Maintainer: Pawel 'l0ner' Soltys <pwslts@gmail.com>
+# Contributor: Calvin Morrison <mutantturkey@gmail.com>
+
+pkgname=trinity-libcaldav
+pkgver=0.6.5
+_pkgsuffix=2debian2
+pkgrel=1
+pkgdesc="A client library adding support for the CalDAV protocol"
+arch=('i686' 'x86_64')
+url="http://www.trinitydesktop.org"
+groups=('trinity-extras')
+depends=('doxygen' 'curl')
+license=('GPL')
+provides=('trinity-libcaldav' 'libcaldav')
+conflicts=('libcaldav')
+replaces=('trinity-libcaldav')
+source=("http://quickbuild.pearsoncomputing.net:58080/2055979/libcaldav_0.6.5-2debian2.tar.gz" "Changelog.patch" "Makefile.am.patch" "Makefile.in.patch")
+md5sums=('fba66a6c605a6d7be67a638cd29667b6'
+ '184818aedf65459ad3f9c0741462f85a'
+ '5ce5bd3c1ed4d5004a864130a971f737'
+ 'c136e14af1923c2cf6dc5beb93da2ba4')
+
+_prefix=/usr
+
+build() {
+
+ # patch for Changelog version
+ patch -p0 -i ${srcdir}/Changelog.patch || return 1
+ patch -p0 -i ${srcdir}/Makefile.am.patch || return 1
+ patch -p0 -i ${srcdir}/Makefile.in.patch || return 1
+
+ cd ${srcdir}/libcaldav-${pkgver}
+ msg "Running ./autogen.sh for autoreconf"
+ ./autogen.sh --prefix=${_prefix}
+# --includedir=/usr/include
+# msg "Running configure"
+# ./configure --prefix=${_prefix}
+
+ make || return 1
+}
+
+package() {
+ cd ${srcdir}/libcaldav-${pkgver}
+ make DESTDIR=${pkgdir} install
+}
diff --git a/arch/3.5.13/trinity-extras/trinity-libcarddav/PKGBUILD b/arch/3.5.13/trinity-extras/trinity-libcarddav/PKGBUILD
new file mode 100644
index 000000000..918d9a853
--- /dev/null
+++ b/arch/3.5.13/trinity-extras/trinity-libcarddav/PKGBUILD
@@ -0,0 +1,42 @@
+# Maintainer: Pawel 'l0ner' Soltys <pwslts@gmail.com>
+# Contributor: Calvin Morrison <mutantturkey@gmail.com>
+
+pkgname=trinity-libcarddav
+pkgver=0.6.2
+_pkgsuffix=2debian2
+pkgrel=1
+pkgdesc="A client library adding support for the CardDAV protocol"
+arch=('i686' 'x86_64')
+url="http://www.trinitydesktop.org/"
+groups=('trinity-extras')
+depends=('curl')
+license=('GPL')
+provides=('trinity-libcarddav' 'libcarddav')
+conflicts=('libcarddav')
+replaces=('trinity-libcarddav')
+source=("http://quickbuild.pearsoncomputing.net:58080/2056019/libcarddav_${pkgver}-${_pkgsuffix}.tar.gz" "libcarddav.patch")
+md5sums=('42a0fe57ba4c639aad53024f6c8d5614'
+ '63ef0b91ff27dfb7c48ca0f07866af79')
+
+_prefix=/usr
+
+build() {
+ cd ${srcdir}
+
+ # apply libcarddav patch
+ msg "Applying Patch: libcarddav.patch"
+ patch -uNp2 -i ${srcdir}/libcarddav.patch || return 1
+
+ cd ${srcdir}/libcarddav-${pkgver}
+ msg "Running ./autogen.sh for autoreconf"
+ ./autogen.sh --prefix=${_prefix}
+ # msg "Running configure"
+ # ./configure --prefix=${_prefix}
+
+ make || return 1
+}
+
+package() {
+ cd ${srcdir}/libcarddav-${pkgver}
+ make DESTDIR=${pkgdir} install
+}
diff --git a/arch/3.5.13/trinity-extras/trinity-libcarddav/libcarddav.patch b/arch/3.5.13/trinity-extras/trinity-libcarddav/libcarddav.patch
new file mode 100644
index 000000000..00621d45e
--- /dev/null
+++ b/arch/3.5.13/trinity-extras/trinity-libcarddav/libcarddav.patch
@@ -0,0 +1,38 @@
+diff -Naur trinity-libcarddav-orig//src/libcarddav-0.6.2/ChangeLog trinity-libcarddav//src/libcarddav-0.6.2/ChangeLog
+--- trinity-libcarddav-orig//src/libcarddav-0.6.2/ChangeLog 2010-07-21 02:57:45.000000000 -0500
++++ trinity-libcarddav//src/libcarddav-0.6.2/ChangeLog 2011-05-08 14:08:07.000000000 -0500
+@@ -1,3 +1,9 @@
++libcarddav (0.6.2)
++ * Update Changelog to correct version. Includes patch
++ provided by Timothy Pearson
++
++-- David Rankin <drankinatty@gmail.com> Sun, 8 May 2011 22:51:03 +0100
++
+ libcarddav (0.6.1)
+ * Fix redirection bug to fully support Zimbra server. Patch
+ provided by Timothy Pearson
+diff -Naur trinity-libcarddav-orig//src/libcarddav-0.6.2/src/Makefile.am trinity-libcarddav//src/libcarddav-0.6.2/src/Makefile.am
+--- trinity-libcarddav-orig//src/libcarddav-0.6.2/src/Makefile.am 2010-07-21 02:57:45.000000000 -0500
++++ trinity-libcarddav//src/libcarddav-0.6.2/src/Makefile.am 2011-05-08 14:08:37.000000000 -0500
+@@ -35,7 +35,7 @@
+ lock-carddav-object.c \
+ lock-carddav-object.h
+
+-libcarddav_includedir=$(includedir)/libcarddav-@VERSION@
++libcarddav_includedir=$(includedir)/libcarddav
+ libcarddav_include_HEADERS = carddav.h
+
+ noinst_HEADERS = \
+diff -Naur trinity-libcarddav-orig//src/libcarddav-0.6.2/src/Makefile.in trinity-libcarddav//src/libcarddav-0.6.2/src/Makefile.in
+--- trinity-libcarddav-orig//src/libcarddav-0.6.2/src/Makefile.in 2010-07-21 02:57:45.000000000 -0500
++++ trinity-libcarddav//src/libcarddav-0.6.2/src/Makefile.in 2011-05-08 14:09:05.000000000 -0500
+@@ -278,7 +278,7 @@
+ lock-carddav-object.c \
+ lock-carddav-object.h
+
+-libcarddav_includedir = $(includedir)/libcarddav-@VERSION@
++libcarddav_includedir = $(includedir)/libcarddav
+ libcarddav_include_HEADERS = carddav.h
+ noinst_HEADERS = \
+ add-carddav-object.h \
+
diff --git a/arch/3.5.13/trinity-extras/trinity-libkdcraw/PKGBUILD b/arch/3.5.13/trinity-extras/trinity-libkdcraw/PKGBUILD
new file mode 100644
index 000000000..6fdf2d303
--- /dev/null
+++ b/arch/3.5.13/trinity-extras/trinity-libkdcraw/PKGBUILD
@@ -0,0 +1,49 @@
+# Maintainer: Pawel 'l0ner' Soltys <pwslts@gmail.com>
+# Contributor: Calvin Morrison <mutantturkey@gmail.com>
+
+pkgname=trinity-libkdcraw
+pkgver=3513
+pkgrel=1
+arch=('i686' 'x86_64')
+url='http://www.trinitydesktop.org'
+license=('GPL')
+groups=('trinity-extras')
+pkgdesc="Trinity DCRaw library"
+depends=('trinity-kdelibs')
+#openmpi
+makedepends=('pkgconfig' 'autoconf' 'automake')
+options=('libtool' '!strip')
+source=(http://mirror.ets.kth.se/trinity/releases/3.5.13/libraries/libkdcraw-3.5.13.tar.gz)
+md5sums=('770dd734dc427337a1a2e61b6b0874ae')
+
+_prefix=/opt/trinity
+
+build() {
+
+ 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
+
+ msg "Starting automake..."
+ cd "$srcdir/libraries/libkdcraw"
+ cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
+ cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh"
+ make -f admin/Makefile.common
+
+ msg "Starting configure..."
+ ./configure --with-qt-dir=${QTDIR} \
+ --prefix=${_prefix} \
+ --enable-closure \
+ --enable-openmp \
+ --with-extra-includes=${_prefix}/include:/usr/include/dbus-1.0:${_prefix}/include/libkrandr \
+ --with-extra-libs=${_prefix}/lib:${_prefix}/lib/trinity:${_prefix}/pkgconfig
+
+ msg "Building ${pkgname}..."
+ make
+}
+
+package() {
+ msg "Packaging - $pkgname-$pkgver"
+ cd ${srcdir}/libraries/libkdcraw
+ make DESTDIR="${pkgdir}" install
+}
diff --git a/arch/3.5.13/trinity-extras/trinity-libkexiv2/PKGBUILD b/arch/3.5.13/trinity-extras/trinity-libkexiv2/PKGBUILD
new file mode 100644
index 000000000..20dd82265
--- /dev/null
+++ b/arch/3.5.13/trinity-extras/trinity-libkexiv2/PKGBUILD
@@ -0,0 +1,47 @@
+# Maintainer: Pawel 'l0ner' Soltys <pwslts@gmail.com>
+# Contributor: Calvin Morrison <mutantturkey@gmail.com>
+
+pkgname=trinity-libkexiv2
+pkgver=3513
+pkgrel=1
+arch=('i686' 'x86_64')
+url='http://www.trinitydesktop.org'
+license=('GPL')
+groups=('trinity-extras')
+pkgdesc="Trinity exiv2 library"
+depends=('trinity-kdelibs' 'exiv2')
+makedepends=('pkgconfig' 'autoconf' 'automake')
+options=('libtool' '!strip')
+source=(http://mirror.ets.kth.se/trinity/releases/3.5.13/libraries/libkexiv2-3.5.13.tar.gz)
+md5sums=('74b160da8ea95f25048757b5fe692f85')
+
+_prefix=/opt/trinity
+
+build() {
+
+ 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
+
+ msg "Starting automake..."
+ cd "$srcdir/libraries/libkexiv2"
+ cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
+ cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh"
+ make -f admin/Makefile.common
+
+ msg "Starting configure..."
+ ./configure --with-qt-dir=${QTDIR} \
+ --prefix=${_prefix} \
+ --enable-closure \
+ --with-extra-includes=${_prefix}/include:/usr/include/dbus-1.0:${_prefix}/include/libkrandr \
+ --with-extra-libs=${_prefix}/lib:${_prefix}/lib/trinity:${_prefix}/pkgconfig
+
+ msg "Building ${pkgname}..."
+ make
+}
+
+package() {
+ msg "Packaging - $pkgname-$pkgver"
+ cd ${srcdir}/libraries/libkexiv2
+ make DESTDIR="${pkgdir}" install
+}
diff --git a/arch/3.5.13/trinity-extras/trinity-libkipi/PKGBUILD b/arch/3.5.13/trinity-extras/trinity-libkipi/PKGBUILD
new file mode 100644
index 000000000..e66eb1a4a
--- /dev/null
+++ b/arch/3.5.13/trinity-extras/trinity-libkipi/PKGBUILD
@@ -0,0 +1,47 @@
+# Maintainer: Pawel 'l0ner' Soltys <pwslts@gmail.com>
+# Contributor: Calvin Morrison <mutantturkey@gmail.com>
+
+pkgname=trinity-libkipi
+pkgver=3513
+pkgrel=1
+arch=('i686' 'x86_64')
+url='http://www.trinitydesktop.org'
+license=('GPL')
+groups=('trinity-extras')
+pkgdesc="Trinity kipi library"
+depends=('trinity-kdelibs')
+makedepends=('pkgconfig' 'autoconf' 'automake')
+options=('libtool' '!strip')
+source=(http://mirror.ets.kth.se/trinity/releases/3.5.13/libraries/libkipi-3.5.13.tar.gz)
+md5sums=('22cb0ba7507cac99140cd1c0180cbe99')
+
+_prefix=/opt/trinity
+
+build() {
+
+ 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
+
+ msg "Starting automake..."
+ cd "$srcdir/libraries/libkipi"
+ cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
+ cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh"
+ make -f admin/Makefile.common
+
+ msg "Starting configure..."
+ ./configure --with-qt-dir=${QTDIR} \
+ --prefix=${_prefix} \
+ --enable-closure \
+ --with-extra-includes=${_prefix}/include:/usr/include/dbus-1.0:${_prefix}/include/libkrandr \
+ --with-extra-libs=${_prefix}/lib:${_prefix}/lib/trinity:${_prefix}/pkgconfig
+
+ msg "Building ${pkgname}..."
+ make
+}
+
+package() {
+ msg "Packaging - $pkgname-$pkgver"
+ cd ${srcdir}/libraries/libkipi
+ make DESTDIR="${pkgdir}" install
+}