diff options
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 8 | ||||
-rw-r--r-- | sshconf.install | 11 |
3 files changed, 7 insertions, 15 deletions
@@ -1,9 +1,10 @@ +# Generated by mksrcinfo v8 +# Mon May 2 16:49:55 UTC 2016 pkgbase = sshconf pkgdesc = A graphical frontend to manage ssh configurations for different hosts pkgver = 0.6.2.1 pkgrel = 1 url = http://sourceforge.net/apps/trac/sshconf - install = sshconf.install arch = any license = GPL3 depends = desktop-file-utils @@ -8,18 +8,20 @@ arch=('any') url="http://sourceforge.net/apps/trac/sshconf" license=('GPL3') depends=('desktop-file-utils' 'kdebindings-python2' 'openssh' 'python2' 'qt4') -install=$pkgname.install source=(http://download.sourceforge.net/project/$pkgname/${pkgname}_${pkgver}.tar.gz) sha256sums=('68467c5af80e04cf7168bc666bcb18f5df6d389ccbe78ef39156a63f204a0d3d') -package() { +prepare() { cd "${srcdir}"/$pkgname-$pkgver - #Python2 fix for file in $(find . -name '*.py' -print); do sed -i 's_^#!.*/usr/bin/python_#!/usr/bin/python2_' $file sed -i 's_^#!.*/usr/bin/env.*python_#!/usr/bin/env python2_' $file done +} + +package() { + cd "${srcdir}"/$pkgname-$pkgver python2 setup.py install --root="${pkgdir}" } diff --git a/sshconf.install b/sshconf.install deleted file mode 100644 index 2eaa60550d51..000000000000 --- a/sshconf.install +++ /dev/null @@ -1,11 +0,0 @@ -post_install() { - update-desktop-database -q -} - -post_upgrade() { - post_install $1 -} - -post_remove() { - post_install $1 -} |