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

Felix Yan fyan at archlinux.org
Tue Apr 21 06:18:01 UTC 2015


    Date: Tuesday, April 21, 2015 @ 08:18:01
  Author: fyan
Revision: 131784

archrelease: copy trunk to community-any

Added:
  thefuck/repos/community-any/PKGBUILD
    (from rev 131783, thefuck/trunk/PKGBUILD)
  thefuck/repos/community-any/thefuck.install
    (from rev 131783, thefuck/trunk/thefuck.install)
Deleted:
  thefuck/repos/community-any/thefuck.install

-----------------+
 PKGBUILD        |   35 +++++++++++++++++++++++++++++++++++
 thefuck.install |    6 +++---
 2 files changed, 38 insertions(+), 3 deletions(-)

Copied: thefuck/repos/community-any/PKGBUILD (from rev 131783, thefuck/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2015-04-21 06:18:01 UTC (rev 131784)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=thefuck
+pkgver=1.17
+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' 'python-psutil')
+checkdepends=('python-pytest' 'python-mock')
+install=thefuck.install
+source=("https://pypi.python.org/packages/source/t/thefuck/thefuck-$pkgver.tar.gz")
+sha256sums=('5964e461756991d0b2f3568a4264b819dff30f2070ec9f5969926863617f2140')
+
+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/"
+
+  install -Dm644 LICENSE.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE.md"
+}
+
+# vim:set ts=2 sw=2 et:

Deleted: thefuck.install
===================================================================
--- thefuck.install	2015-04-21 06:15:50 UTC (rev 131783)
+++ thefuck.install	2015-04-21 06:18:01 UTC (rev 131784)
@@ -1,3 +0,0 @@
-post_install() {
-  printf '%s\n' '=> Add: alias fuck=''$(thefuck $(fc -ln -1))'' to your .bashrc or .zshrc.'
-}

Copied: thefuck/repos/community-any/thefuck.install (from rev 131783, thefuck/trunk/thefuck.install)
===================================================================
--- thefuck.install	                        (rev 0)
+++ thefuck.install	2015-04-21 06:18:01 UTC (rev 131784)
@@ -0,0 +1,3 @@
+post_install() {
+  printf '%s\n' '=> Add: alias fuck=''$(thefuck $(fc -ln -1))'' to your .bashrc or .zshrc.'
+}



More information about the arch-commits mailing list