[arch-commits] Commit in thefuck/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Thu Apr 13 03:14:04 UTC 2017
Date: Thursday, April 13, 2017 @ 03:14:03
Author: felixonmars
Revision: 222553
upgpkg: thefuck 3.16-1
Modified:
thefuck/trunk/PKGBUILD
----------+
PKGBUILD | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-04-13 03:13:29 UTC (rev 222552)
+++ PKGBUILD 2017-04-13 03:14:03 UTC (rev 222553)
@@ -2,7 +2,7 @@
# Maintainer: Felix Yan <felixonmars at archlinux.org>
pkgname=thefuck
-pkgver=3.15
+pkgver=3.16
pkgrel=1
pkgdesc="Magnificent app which corrects your previous console command"
arch=('any')
@@ -9,18 +9,18 @@
url="https://github.com/nvbn/thefuck"
license=('MIT')
depends=('python-setuptools' 'python-psutil' 'python-six' 'python-colorama' 'python-decorator')
-makedepends=('git' 'python-pip')
+makedepends=('python-pip')
checkdepends=('python-pytest-mock' 'python-mock' 'python-pexpect')
-source=("git+https://github.com/nvbn/thefuck.git#tag=$pkgver")
-sha256sums=('SKIP')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/nvbn/thefuck/archive/$pkgver.tar.gz")
+sha512sums=('f6c383fddcc40d11914b095eb9e00e856c5374ffbbb495f6f07a532e5f6458f8051a2881c80e85c743a7a876c6a70aaa78140aa09cbb1b78460a959752d88aca')
build() {
- cd thefuck
+ cd thefuck-$pkgver
python setup.py build
}
check() {
- cd thefuck
+ cd thefuck-$pkgver
# Hack distribution test by installing it and set PYTHONPATH afterwards
python setup.py install --root="$PWD/tmp_install" --optimize=1
@@ -33,10 +33,10 @@
}
package() {
- cd thefuck
+ cd thefuck-$pkgver
python setup.py install -O1 --prefix=/usr --root="$pkgdir"
- install -Dm644 LICENSE.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE.md"
+ install -Dm644 LICENSE.md "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.md
}
# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list