core/qt-assistant-compat/PKGBUILD
Adrián Chaves Fernández (Gallaecio) 95246b57f5 Removed python-numeric, which was replaced by python-numpy.
Removed larch, larch-live and liblarch, replaced by Chakra’s a-setup.sh script.
python2-cairo 1.10.0
python2-gobject 2.28.6
python2-crypto 2.6
python2-zope-interface 4.0.1
python2-twisted 12.2.0
python2-nose 1.2.1
python2-urwid 1.1.0
Rebuilt because of time reasons: python2-imaging, qt-assistant-compat.
2012-11-10 23:53:31 +01:00

59 lines
1.7 KiB
Bash

#
# Platform Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
pkgname=qt-assistant-compat
pkgver=4.6.3
pkgrel=3
pkgdesk="compat version of Qt Assistant"
url="http://qt.nokia.com/"
arch=('i686' 'x86_64')
license=('GPL3' 'LGPL')
depends=('qt')
source=('ftp://ftp.qt.nokia.com/qt/source/qt-assistant-qassistantclient-library-compat-src-4.6.3.tar.gz'
'debian_patches_01_build_system.diff')
md5sums=('a20148e0488d5c12ab35ccc107dcc64d'
'1b55290dc9fab0c035797e9301d2fa61')
# separate package function does not really work here due to broken build files
build() {
cd ${srcdir}/qt-assistant-qassistantclient-library-compat-version-${pkgver}
patch -Np1 -i ${srcdir}/debian_patches_01_build_system.diff
cd lib; if [ -e Makefile ]; then $(MAKE) distclean; fi
rm -f translations/assistant_adp_*.qm
qmake CONFIG+=create_prl
make
cd ../translations; lrelease assistant_adp_*.ts
cd ..
qmake CONFIG+=create_prl
make
}
package(){
cd ${srcdir}/qt-assistant-qassistantclient-library-compat-version-${pkgver}
make install INSTALL_ROOT=${pkgdir}
cd lib
make install INSTALL_ROOT=${pkgdir}
cd ..
# Fix wrong path in prl file
sed -i -e "/^QMAKE_PRL_BUILD_DIR/d" \
${pkgdir}/usr/lib/libQtAssistantClient.prl
# Install translations
install -d ${pkgdir}/usr/share/qt/translations/
install -p -m0644 translations/assistant_adp_*.qm \
${pkgdir}/usr/share/qt/translations/
# Install prf file
install -D -p -m0644 features/assistant.prf \
${pkgdir}/usr/share/qt/mkspecs/features/assistant.prf
}