summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDimitri Merejkowsky2015-08-25 13:50:19 +0200
committerDimitri Merejkowsky2015-08-25 13:55:19 +0200
commit853a7c78ccc2792d5b04e93e241af5e9b60131d5 (patch)
tree49d324638af5bac832ef2398e7e65385cf700403
parent88162605422862fba4a0244ca2d090f5ee9995b0 (diff)
downloadaur-853a7c78ccc2792d5b04e93e241af5e9b60131d5.tar.gz
update PKGBUILD for pycp 7.0
-rw-r--r--.SRCINFO11
-rw-r--r--PKGBUILD19
2 files changed, 13 insertions, 17 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c18b586523a..dfa7030ea05 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,16 +1,15 @@
pkgbase = pycp
pkgdesc = cp and mv with a progressbar
- pkgver = 6.1.3
+ pkgver = 7.0
pkgrel = 1
url = http://github.com/yannicklm/pycp
arch = any
license = MIT
- makedepends = python2
+ makedepends = python
makedepends = help2man
- depends = python2
- conflicts = pycp-git
- source = http://pypi.python.org/packages/source/p/pycp/pycp-6.1.3.tar.gz
- md5sums = df23252879d23ad22b9ab3e51af6e538
+ depends = python
+ source = http://pypi.python.org/packages/source/p/pycp/pycp-7.0.tar.gz
+ md5sums = e1ba0162fb22d72084be3af9178ce019
pkgname = pycp
diff --git a/PKGBUILD b/PKGBUILD
index f642a6c8f0a..ef32cd8158d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,32 +1,29 @@
#Maintainer: "Yannick LM <yannicklm1337 AT gmail DOT com>"
pkgname=pycp
-pkgver="6.1.3"
+pkgver="7.0"
pkgrel=1
pkgdesc="cp and mv with a progressbar"
url="http://github.com/yannicklm/pycp"
arch=('any')
license=('MIT')
-depends=('python2')
-makedepends=('python2' 'help2man')
+depends=('python')
+makedepends=('python' 'help2man')
source=("http://pypi.python.org/packages/source/p/pycp/pycp-${pkgver}.tar.gz")
-md5sums=('df23252879d23ad22b9ab3e51af6e538')
-
-
-conflicts=('pycp-git')
+md5sums=('e1ba0162fb22d72084be3af9178ce019')
build() {
cd ${srcdir}/pycp-${pkgver}
- python2 setup.py build
+ python setup.py build
}
package() {
cd ${srcdir}/pycp-${pkgver}
- python2 setup.py install --root=$pkgdir/ --optimize=1
+ python setup.py install --root=$pkgdir/ --optimize=1
# man pages
- PYTHONPATH=. help2man --no-info --output pycp.1 bin/pycp
- PYTHONPATH=. help2man --no-info --output pymv.1 bin/pymv
+ PYTHONPATH=. help2man --no-info --output pycp.1 ${pkgdir}/usr/bin/pycp
+ PYTHONPATH=. help2man --no-info --output pymv.1 ${pkgdir}/usr/bin/pymv
mkdir -p $pkgdir/usr/share/man/man1
install pycp.1 $pkgdir/usr/share/man/man1/pycp.1
install pymv.1 $pkgdir/usr/share/man/man1/pymv.1