diff -Naupr python.old/idle3.desktop python/idle3.desktop --- python.old/idle3.desktop 1970-01-01 01:00:00.000000000 +0100 +++ python/idle3.desktop 2012-09-06 01:01:20.054538931 +0200 @@ -0,0 +1,9 @@ +[Desktop Entry] +Icon=/usr/share/pixmaps/python.xpm +Name=IDLE 3 +Comment=IDLE Python IDE with Python 3 +Exec=/usr/bin/idle3 +Terminal=false +Type=Application +Categories=Development; +StartupNotify=true diff -Naupr python.old/PKGBUILD python/PKGBUILD --- python.old/PKGBUILD 2012-09-06 01:00:45.598059602 +0200 +++ python/PKGBUILD 2012-09-06 01:10:53.574765232 +0200 @@ -2,23 +2,24 @@ # Maintainer: Stéphane Gaudreault # Contributor: Allan McRae # Contributor: Jason Chu +# Contributor: Dominik George pkgname=python pkgver=3.2.3 -pkgrel=3 +pkgrel=4 _pybasever=3.2 pkgdesc="Next generation of the python high-level scripting language" arch=('i686' 'x86_64') license=('custom') url="http://www.python.org/" depends=('expat' 'bzip2' 'gdbm' 'openssl' 'libffi' 'zlib') -makedepends=('tk' 'sqlite' 'valgrind') +makedepends=('tk' 'sqlite' 'valgrind' 'imagemagick') optdepends=('tk: for tkinter' 'sqlite') provides=('python3') replaces=('python3') options=('!makeflags') -source=(http://www.python.org/ftp/python/${pkgver%rc*}/Python-${pkgver}.tar.xz) -sha1sums=('3d607dbcfdf100dd659978195ccf3ade9d221823') +source=(http://www.python.org/ftp/python/${pkgver%rc*}/Python-${pkgver}.tar.xz idle3.desktop) +sha1sums=('3d607dbcfdf100dd659978195ccf3ade9d221823' '08dd2edad9b3fdb71f5e2cf6a9d2a0b9b50b2187') build() { cd "${srcdir}/Python-${pkgver}" @@ -73,4 +74,10 @@ package() { # License install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + + # desktop entry for IDLE + install -Dm644 "${srcdir}/idle3.desktop" "${pkgdir}/usr/share/applications/idle3.desktop" + + # Python pixmap for menu items + convert Doc/tools/sphinxext/static/py.png "${pkgdir}/usr/share/pixmaps/python.xpm" }