[arch-commits] Commit in thefuck/repos (community-any community-any/PKGBUILD)

Felix Yan fyan at archlinux.org
Sat Apr 18 07:31:29 UTC 2015


    Date: Saturday, April 18, 2015 @ 09:31:29
  Author: fyan
Revision: 131611

archrelease: copy trunk to community-any

Added:
  thefuck/repos/community-any/
  thefuck/repos/community-any/PKGBUILD
    (from rev 131610, thefuck/trunk/PKGBUILD)

----------+
 PKGBUILD |   32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

Copied: thefuck/repos/community-any/PKGBUILD (from rev 131610, thefuck/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2015-04-18 07:31:29 UTC (rev 131611)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=thefuck
+pkgver=1.7
+pkgrel=1
+pkgdesc="Magnificent app which corrects your previous console command"
+arch=('any')
+url="https://github.com/nvbn/thefuck"
+license=('MIT')
+depends=('python-setuptools' 'python-pathlib')
+checkdepends=('python-pytest' 'python-mock')
+source=("https://pypi.python.org/packages/source/t/thefuck/thefuck-$pkgver.tar.gz")
+sha256sums=('aa2b4547479b1cd61f21e9fd42e37b37f67c64fa34e9e6119d5f64d976498b40')
+
+build() {
+  cd "${srcdir}/thefuck-$pkgver"
+  python setup.py build
+}
+
+check() {
+  # Tests not included in released tarball
+  cd "${srcdir}/thefuck-$pkgver"
+  # py.test
+}
+
+package() {
+  cd thefuck-$pkgver
+  python3 setup.py install -O1 --prefix=/usr --root="$pkgdir/"
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list