i18n: minor fixups, dropped _prefix variable

pull/3/head
Pawel "l0ner" Soltys 13 years ago
parent 68c9663432
commit 4d68a22f4f

@ -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,12 +39,10 @@ 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
[ "$QTDIR" = "" ] && . /etc/profile.d/qt3.sh
[ "$TDEDIR" = "" ] && . /etc/profile.d/trinity.sh
cd $srcdir/kde-i18n
rm HOW.TO.BUILD TRINITY.RELEASE
@ -62,7 +60,7 @@ build() {
cd trinity-${_newname}
msg "Starting trinity-${_newname} configure..."
./configure --prefix=${_prefix} > /dev/null
./configure --prefix=${TDEDIR} > /dev/null
msg "Building trinity-${_newname}..."
make > /dev/null

Loading…
Cancel
Save