diff options
Diffstat (limited to 'arch/tde-core/tde-tqt3/PKGBUILD')
-rw-r--r-- | arch/tde-core/tde-tqt3/PKGBUILD | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/arch/tde-core/tde-tqt3/PKGBUILD b/arch/tde-core/tde-tqt3/PKGBUILD index 7f031c3c9..d12cbb46f 100644 --- a/arch/tde-core/tde-tqt3/PKGBUILD +++ b/arch/tde-core/tde-tqt3/PKGBUILD @@ -9,8 +9,8 @@ _kdemod="${_mod/tde/kde}" pkgbase="tde-${_mod}" pkgname=("$pkgbase" "${pkgbase}-docs") -pkgver=14.0.13 -pkgrel=3 +pkgver=14.1.0 +pkgrel=1 pkgdesc="The TQt3 gui toolkit - based on TDE upstream Qt3" arch=('i686' 'x86_64' 'aarch64' 'armv7h' 'powerpc64le') url="https://scm.trinitydesktop.org/scm/git/${_mod}" @@ -30,7 +30,7 @@ makedepends=('libcups' 'libxmu' 'glu') source=("https://mirror.ppa.trinitydesktop.org/trinity/releases/R${pkgver}/main/${_cat}${_mod}-trinity-${pkgver}.tar.xz") -md5sums=('3ea682bfceca2fb8e53234055a82bb8d') +md5sums=('e19fa258ec0cad29a169bc3148fa52db') _prefix="/opt/trinity/tqt3" @@ -56,10 +56,10 @@ build() { sed -i "s|read acceptance|acceptance=yes|" configure msg "Setting enviroment variables..." - export QTDIR="${srcdir}/${_mod}-trinity-${pkgver}" - export PATH=${QTDIR}/bin:${PATH} - export LD_LIBRARY_PATH=${QTDIR}/lib:${LD_LIBRARY_PATH} - export QMAKESPEC=$QTDIR/mkspecs/linux-g++ + export TQTDIR="${srcdir}/${_mod}-trinity-${pkgver}" + export PATH=${TQTDIR}/bin:${PATH} + export LD_LIBRARY_PATH=${TQTDIR}/lib:${LD_LIBRARY_PATH} + export QMAKESPEC=$TQTDIR/mkspecs/linux-g++ if [ "$CARCH" = "x86_64" ]; then export ARCH="-64" @@ -113,16 +113,16 @@ build() { # 64bit fixes pulled from extras/qt3 PKGBUILD # this is Arch-specific # fix /opt/qt/lib path - [ "$CARCH" = "x86_64" ] && sed -i "s|/opt/qt/lib64|/opt/qt/lib|g" ${QTDIR}/src/Makefile - [ "$CARCH" = "x86_64" ] && sed -i "s|/opt/qt/lib64|/opt/qt/lib|g" ${QTDIR}/tools/designer/designer/Makefile - [ "$CARCH" = "x86_64" ] && sed -i "s|/opt/qt/lib64|/opt/qt/lib|g" ${QTDIR}/tools/designer/editor/Makefile - [ "$CARCH" = "x86_64" ] && sed -i "s|/opt/qt/lib64|/opt/qt/lib|g" ${QTDIR}/tools/assistant/lib/Makefile - [ "$CARCH" = "x86_64" ] && sed -i "s|/opt/qt/lib64|/opt/qt/lib|g" ${QTDIR}/tools/designer/uilib/Makefile + [ "$CARCH" = "x86_64" ] && sed -i "s|/opt/qt/lib64|/opt/qt/lib|g" ${TQTDIR}/src/Makefile + [ "$CARCH" = "x86_64" ] && sed -i "s|/opt/qt/lib64|/opt/qt/lib|g" ${TQTDIR}/tools/designer/designer/Makefile + [ "$CARCH" = "x86_64" ] && sed -i "s|/opt/qt/lib64|/opt/qt/lib|g" ${TQTDIR}/tools/designer/editor/Makefile + [ "$CARCH" = "x86_64" ] && sed -i "s|/opt/qt/lib64|/opt/qt/lib|g" ${TQTDIR}/tools/assistant/lib/Makefile + [ "$CARCH" = "x86_64" ] && sed -i "s|/opt/qt/lib64|/opt/qt/lib|g" ${TQTDIR}/tools/designer/uilib/Makefile msg "--- \$CARCH is $CARCH ---" msg "Building - $pkgbase..." - cd "${QTDIR}" + cd "${TQTDIR}" # build rest, but without tutorials and examples # of you want them, remove sub-tools @@ -156,7 +156,7 @@ package_tde-tqt3() { install='tqt3.install' msg "Packaging - $pkgname-$pkgver" - cd "${QTDIR}" + cd "${TQTDIR}" make INSTALL_ROOT="$pkgdir" install @@ -203,5 +203,5 @@ package_tde-tqt3-docs() { ## install doc pages which are missed by make install ## convenient for a split package install -d -m755 "${pkgdir}${_prefix}/doc/" - cp -r "${QTDIR}/doc" "${pkgdir}${_prefix}" + cp -r "${TQTDIR}/doc" "${pkgdir}${_prefix}" } |