summaryrefslogtreecommitdiffstats
path: root/abs
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-08-07 20:45:58 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-08-07 20:45:58 (GMT)
commit44e5433b2b61c448cab9b610c65781413593e586 (patch)
tree7b91e8ac04b3eafb814d3c8d51588986716d4687 /abs
parenta0bd1e3ca25e2f8f2e34f3cee507a63d7cb56df1 (diff)
downloadlinhes_pkgbuild-44e5433b2b61c448cab9b610c65781413593e586.zip
linhes_pkgbuild-44e5433b2b61c448cab9b610c65781413593e586.tar.gz
linhes_pkgbuild-44e5433b2b61c448cab9b610c65781413593e586.tar.bz2
qt-assistant-compt: 4.6.3
Diffstat (limited to 'abs')
-rw-r--r--abs/extra/qt-assistant-compat/PKGBUILD43
1 files changed, 21 insertions, 22 deletions
diff --git a/abs/extra/qt-assistant-compat/PKGBUILD b/abs/extra/qt-assistant-compat/PKGBUILD
index 49fa9f0..74cd0de 100644
--- a/abs/extra/qt-assistant-compat/PKGBUILD
+++ b/abs/extra/qt-assistant-compat/PKGBUILD
@@ -1,16 +1,16 @@
-# $Id: PKGBUILD 92392 2010-09-29 14:51:01Z ronald $
+# $Id: PKGBUILD 149629 2012-02-08 20:53:42Z pierre $
# Maintainer: Ronald van Haren <ronald.archlinux.org>
pkgname=qt-assistant-compat
pkgver=4.6.3
-pkgrel=1
-pkgdesk="compat version of Qt Assistant"
+pkgrel=2
+pkgdesc="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')
+ 'debian_patches_01_build_system.diff')
md5sums=('a20148e0488d5c12ab35ccc107dcc64d'
'1b55290dc9fab0c035797e9301d2fa61')
@@ -18,38 +18,37 @@ md5sums=('a20148e0488d5c12ab35ccc107dcc64d'
build() {
cd ${srcdir}/qt-assistant-qassistantclient-library-compat-version-${pkgver}
- patch -Np1 -i ${srcdir}/debian_patches_01_build_system.diff
-
+ 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
+ rm -f translations/assistant_adp_*.qm
qmake CONFIG+=create_prl
- make
- cd ../translations; lrelease assistant_adp_*.ts
- cd ..
- qmake CONFIG+=create_prl
- make
+ make
+ cd ../translations; lrelease assistant_adp_*.ts
+ cd ..
+ qmake CONFIG+=create_prl
+ make
}
-package(){
- cd ${srcdir}/qt-assistant-qassistantclient-library-compat-version-${pkgver}
+package() {
+ cd ${srcdir}/qt-assistant-qassistantclient-library-compat-version-${pkgver}
- make install INSTALL_ROOT=${pkgdir}
- cd lib
- make install INSTALL_ROOT=${pkgdir}
- cd ..
+ 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
+ ${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/
+ ${pkgdir}/usr/share/qt/translations/
# Install prf file
install -D -p -m0644 features/assistant.prf \
- ${pkgdir}/usr/share/qt/mkspecs/features/assistant.prf
-
+ ${pkgdir}/usr/share/qt/mkspecs/features/assistant.prf
}