summaryrefslogtreecommitdiffstats
path: root/arch/3.5.13/trinity-extras/trinity-i18n/PKGBUILD
diff options
context:
space:
mode:
authorRobert Xu <robxu9@gmail.com>2012-02-21 19:27:13 -0500
committerRobert Xu <robxu9@gmail.com>2012-02-21 19:27:13 -0500
commit5d7b5e6defb05f81691d286d40f67260c4733d00 (patch)
treeb2bfcca86b05179cad334dc61c5609e54ac7674d /arch/3.5.13/trinity-extras/trinity-i18n/PKGBUILD
parent580ce2082fe5054c9ad0e4f666cee9b4bfb2d0b6 (diff)
parenta14ac9de2f5843036c9f452f1188979fef17ae6d (diff)
downloadtde-packaging-5d7b5e6defb05f81691d286d40f67260c4733d00.tar.gz
tde-packaging-5d7b5e6defb05f81691d286d40f67260c4733d00.zip
Merge branch 'master' of http://scm.trinitydesktop.org/scm/git/tde-packaging
Diffstat (limited to 'arch/3.5.13/trinity-extras/trinity-i18n/PKGBUILD')
-rw-r--r--arch/3.5.13/trinity-extras/trinity-i18n/PKGBUILD58
1 files changed, 28 insertions, 30 deletions
diff --git a/arch/3.5.13/trinity-extras/trinity-i18n/PKGBUILD b/arch/3.5.13/trinity-extras/trinity-i18n/PKGBUILD
index 417343986..01f86aefa 100644
--- a/arch/3.5.13/trinity-extras/trinity-i18n/PKGBUILD
+++ b/arch/3.5.13/trinity-extras/trinity-i18n/PKGBUILD
@@ -27,7 +27,7 @@ pkgname=('trinity-i18n-af' 'trinity-i18n-ar' 'trinity-i18n-az'
'trinity-i18n-uz-cyrillic' 'trinity-i18n-vi' 'trinity-i18n-wa' '
trinity-i18n-zh_cn' 'trinity-i18n-zh_tw')
pkgver=3513
-pkgrel=1
+pkgrel=2
arch=('i686' 'x86_64')
url='http://www.trinitydesktop.org'
license=('GPL')
@@ -39,36 +39,34 @@ 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
+ msg "Setting Trinity Environment variables"
+ [ "$QTDIR" = "" ] && . /etc/profile.d/qt3.sh
+ [ "$TDEDIR" = "" ] && . /etc/profile.d/trinity.sh
+
+ 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=${TDEDIR} > /dev/null
+
+ msg "Building trinity-${_newname}..."
+ make > /dev/null
+
+ cd ..
+ done
}
package_trinity-i18n-af() {