diff options
author | Pawel "l0ner" Soltys <pwslts@gmail.com> | 2012-02-07 18:07:49 +0100 |
---|---|---|
committer | Pawel "l0ner" Soltys <pwslts@gmail.com> | 2012-02-07 18:07:49 +0100 |
commit | 4d68a22f4f5b16802bf92f8f1d4752d4f879737d (patch) | |
tree | 4a00a35a27c6e82f463eee04f6c4e567ca49c0a6 | |
parent | 68c96634329a0eebafbe2dd8e619157152ca60d7 (diff) | |
download | tde-packaging-4d68a22f4f5b16802bf92f8f1d4752d4f879737d.tar.gz tde-packaging-4d68a22f4f5b16802bf92f8f1d4752d4f879737d.zip |
i18n: minor fixups, dropped _prefix variable
-rw-r--r-- | arch/3.5.13/trinity-extras/trinity-i18n/PKGBUILD | 58 |
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() { |