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

Felix Yan fyan at archlinux.org
Tue Apr 21 06:13:27 UTC 2015


    Date: Tuesday, April 21, 2015 @ 08:13:26
  Author: fyan
Revision: 131781

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2015-04-21 06:13:13 UTC (rev 131780)
+++ PKGBUILD	2015-04-21 06:13:26 UTC (rev 131781)
@@ -1,34 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=thefuck
-pkgver=1.15
-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')
-source=("https://pypi.python.org/packages/source/t/thefuck/thefuck-$pkgver.tar.gz")
-sha256sums=('4d54939f1ea3ea7043bf2bc646014a55196d5c5985f3fe97baa4e4baaec74744')
-
-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:

Copied: thefuck/repos/community-any/PKGBUILD (from rev 131780, thefuck/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2015-04-21 06:13:26 UTC (rev 131781)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=thefuck
+pkgver=1.16
+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=('1bfdc4fd78765f9a54bf81be4e12c4bfb944dfebb6d054745c55e02940421f88')
+
+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:

Copied: thefuck/repos/community-any/thefuck.install (from rev 131780, thefuck/trunk/thefuck.install)
===================================================================
--- thefuck.install	                        (rev 0)
+++ thefuck.install	2015-04-21 06:13:26 UTC (rev 131781)
@@ -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