# Maintainer: Daniel Milde # Contributor: Dan Serban pkgname=deditor pkgver=0.2.5 pkgrel=2 pkgdesc="The editor that boosts your python development" url=https://launchpad.net/deditor license=(GPL) arch=(any) depends=(python2 python-paramiko wxpython) source=("http://launchpad.net/deditor/0.x/${pkgver}/+download/deditor-${pkgver}.deb" 'deditor.desktop' 'deditor.sh') md5sums=('78a4e9edfd05eb0214704670468ed5f9' '90fb088dcb04194273428e67226fda2e' '22a730764194046734749a954dcfbd4f') build() { ar -xv deditor-${pkgver}.deb bsdtar xvf data.tar.gz mv usr "${pkgdir}"/ cd "${pkgdir}" chown -R root.root usr chmod -R 644 usr for _dir in $(find -type d); do chmod 755 ${_dir}; done install -Dm755 "${srcdir}"/deditor.sh usr/bin/${pkgname} sed -i 's/env python/python2/' usr/share/deditor/deditor.py }