diff -Naupr python2.old/idle2.desktop python2/idle2.desktop --- python2.old/idle2.desktop 1970-01-01 01:00:00.000000000 +0100 +++ python2/idle2.desktop 2012-09-06 00:52:01.650897390 +0200 @@ -0,0 +1,9 @@ +[Desktop Entry] +Icon=/usr/share/pixmaps/python.xpm +Name=IDLE 2 +Comment=IDLE Python IDE with Python 2 +Exec=/usr/bin/idle2 +Terminal=false +Type=Application +Categories=Development; +StartupNotify=true diff -Naupr python2.old/PKGBUILD python2/PKGBUILD --- python2.old/PKGBUILD 2012-09-06 00:49:29.715053838 +0200 +++ python2/PKGBUILD 2012-09-06 01:12:12.671003402 +0200 @@ -2,10 +2,11 @@ # Maintainer: Stéphane Gaudreault # Contributer: Allan McRae # Contributer: Jason Chu +# Contributor: Dominik George pkgname=python2 pkgver=2.7.3 -pkgrel=2 +pkgrel=3 _pybasever=2.7 pkgdesc="A high-level scripting language" arch=('i686' 'x86_64') @@ -16,8 +17,8 @@ makedepends=('tk') optdepends=('tk: for IDLE') conflicts=('python<3') options=('!makeflags') -source=(http://www.python.org/ftp/python/${pkgver%rc?}/Python-${pkgver}.tar.xz) -sha1sums=('b2b0ada7ebed4a8204a855193afbdb3aa3308357') +source=(http://www.python.org/ftp/python/${pkgver%rc?}/Python-${pkgver}.tar.xz idle2.desktop) +sha1sums=('b2b0ada7ebed4a8204a855193afbdb3aa3308357' '603792a200d0765472bcea28ad322799e29d855e') build() { cd "${srcdir}/Python-${pkgver}" @@ -81,4 +82,7 @@ package() { # license install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + + # desktop entry for IDLE + install -Dm644 "${srcdir}/idle2.desktop" "${pkgdir}/usr/share/applications/idle2.desktop" }