diff options
author | Muflone | 2019-04-17 02:24:34 +0200 |
---|---|---|
committer | Muflone | 2019-04-17 02:24:34 +0200 |
commit | ed3672e6ec57903ba6c372c8367faee7eaf3517a (patch) | |
tree | abdd31ba0f8992e1dcd846496f349ad64f1935a6 | |
parent | e37763c9eb8b8fd04bc72e0be2c1540ee8f36b4e (diff) | |
download | aur-ed3672e6ec57903ba6c372c8367faee7eaf3517a.tar.gz |
Updated package pyhoca-cli 0.6.0.1-1
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 20 |
2 files changed, 17 insertions, 19 deletions
@@ -1,17 +1,15 @@ -# Generated by mksrcinfo v8 -# Tue Dec 8 17:30:44 UTC 2015 pkgbase = pyhoca-cli pkgdesc = Command line X2Go client written in Python - pkgver = 0.5.0.2 - pkgrel = 2 + pkgver = 0.6.0.1 + pkgrel = 1 url = http://www.x2go.org/ arch = any license = AGPL - makedepends = python2-setuptools - depends = python2-x2go - depends = python2-setproctitle - source = http://code.x2go.org/releases/source/pyhoca-cli/pyhoca-cli-0.5.0.2.tar.gz - sha256sums = 8261fedff24553217eba269a3c57e30b9953b37f58b09038f487637d83203d5e + makedepends = python-setuptools + depends = python-x2go + depends = python-setproctitle + source = http://code.x2go.org/releases/source/pyhoca-cli/pyhoca-cli-0.6.0.1.tar.gz + sha256sums = 8ad4e711fe4f34f7177e6ea1a54f72b82da11cf729292b3f608e71e56afdd875 pkgname = pyhoca-cli @@ -1,25 +1,25 @@ # Maintainer: Muflone http://www.muflone.com/contacts/english/ pkgname=pyhoca-cli -pkgver=0.5.0.2 -pkgrel=2 +pkgver=0.6.0.1 +pkgrel=1 pkgdesc="Command line X2Go client written in Python" url="http://www.x2go.org/" arch=('any') license=('AGPL') -makedepends=('python2-setuptools') -depends=('python2-x2go' 'python2-setproctitle') +makedepends=('python-setuptools') +depends=('python-x2go' 'python-setproctitle') source=("http://code.x2go.org/releases/source/${pkgname}/${pkgname}-${pkgver}.tar.gz") -sha256sums=('8261fedff24553217eba269a3c57e30b9953b37f58b09038f487637d83203d5e') +sha256sums=('8ad4e711fe4f34f7177e6ea1a54f72b82da11cf729292b3f608e71e56afdd875') -prepare() { - cd "${srcdir}/${pkgname}-${pkgver}" - sed -i 's@^#!.*python$@#!/usr/bin/env python2@' "${pkgname}" +build() { + cd "${pkgname}-${pkgver}" + python setup.py build } package() { - cd "${srcdir}/${pkgname}-${pkgver}" - python2 setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 + cd "${pkgname}-${pkgver}" + python setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 # Install executable install -m 755 -d "${pkgdir}/usr/bin" install -m 755 -t "${pkgdir}/usr/bin" "${pkgname}" |