summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJaroslav Lichtblau2016-05-02 18:50:00 +0200
committerJaroslav Lichtblau2016-05-02 18:50:00 +0200
commit5c4ef61cbf9d01c35bbb99740be077508ea93d27 (patch)
tree25d6f557cec328bc078f976d663db13cf797fdf4
parentd5f467504daa4116278bc82950fa9835d7144a45 (diff)
downloadaur-sshconf.tar.gz
sshconfi - install file not needed due to pacman hooks
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD8
-rw-r--r--sshconf.install11
3 files changed, 7 insertions, 15 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 4f979c86df4..455d3f9d8b1 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index 3d2f57e39cc..1bd7c33ab48 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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 2eaa60550d5..00000000000
--- 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
-}