diff options
author | root <root@rshg054.dnsready.net> | 2011-12-13 23:14:49 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-12-13 23:14:49 +0000 |
commit | f4dcb5cb43b68e265512a03a160bdda634818b43 (patch) | |
tree | 9000841b67cefbce37255cb4d728e80bd5a11586 /community/qtcreator | |
parent | cb9c375209c236c16557878a1b864f91de27b88d (diff) |
Tue Dec 13 23:14:49 UTC 2011
Diffstat (limited to 'community/qtcreator')
-rw-r--r-- | community/qtcreator/PKGBUILD | 14 | ||||
-rw-r--r-- | community/qtcreator/qtcreator.install | 12 |
2 files changed, 20 insertions, 6 deletions
diff --git a/community/qtcreator/PKGBUILD b/community/qtcreator/PKGBUILD index fa751f92b..f8b9e0806 100644 --- a/community/qtcreator/PKGBUILD +++ b/community/qtcreator/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 58532 2011-11-13 16:04:52Z andrea $ +# $Id: PKGBUILD 60371 2011-12-12 11:39:44Z svenstaro $ # Maintainer: Imanol Celaya <ornitorrincos@archlinux-es.org> # Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com> # Contributor: Lukas Jirkovsky <l.jirkovsky@gmail.com> @@ -7,7 +7,8 @@ # Contributor: delor <bartekpiech gmail com> pkgname="qtcreator" -pkgver=2.3.1 +pkgver=2.4.0rc +_pkgver=2.4.0-rc pkgrel=1 pkgdesc='Lightweight, cross-platform integrated development environment' arch=('i686' 'x86_64') @@ -16,9 +17,10 @@ license=('LGPL') depends=('qt>=4.7.4') makedepends=('qt-private-headers>=4.7.4' 'git') options=('docs') -source=("http://get.qt.nokia.com/qtcreator/qt-creator-${pkgver}-src.tar.gz" +install=qtcreator.install +source=("http://get.qt.nokia.com/qtcreator/qt-creator-${_pkgver}-src.tar.gz" 'qtcreator.desktop') -md5sums=('8aa296ed9034f847bd53ee0424e5ef08' +md5sums=('1967144101796674ce6e994e66213f81' 'f1f4680b9838ff0b8f4cf11eb850d662') build() { @@ -26,7 +28,7 @@ build() { [[ -d build ]] && rm -r build mkdir build && cd build - qmake ${srcdir}/qt-creator-${pkgver}-src/qtcreator.pro + qmake ${srcdir}/qt-creator-${_pkgver}-src/qtcreator.pro make } @@ -45,6 +47,6 @@ package() { install -Dm644 ${srcdir}/qtcreator.desktop \ ${pkgdir}/usr/share/applications/qtcreator.desktop - install -Dm644 ${srcdir}/qt-creator-${pkgver}-src/LGPL_EXCEPTION.TXT \ + install -Dm644 ${srcdir}/qt-creator-${_pkgver}-src/LGPL_EXCEPTION.TXT \ ${pkgdir}/usr/share/licenses/qtcreator/LGPL_EXCEPTION.TXT } diff --git a/community/qtcreator/qtcreator.install b/community/qtcreator/qtcreator.install new file mode 100644 index 000000000..4d4a283db --- /dev/null +++ b/community/qtcreator/qtcreator.install @@ -0,0 +1,12 @@ +post_install() { + update-desktop-database -q + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} |