[arch-commits] Commit in codespell/repos (testing-any)

2014-10-13 Thread Anatol Pomozov
Date: Tuesday, October 14, 2014 @ 00:36:41
  Author: anatolik
Revision: 120626

codespell is not in [core]

Deleted:
  codespell/repos/testing-any/


[arch-commits] Commit in codespell/repos (testing-any testing-any/PKGBUILD)

2014-10-12 Thread Anatol Pomozov
Date: Monday, October 13, 2014 @ 02:40:26
  Author: anatolik
Revision: 120574

archrelease: copy trunk to testing-any

Added:
  codespell/repos/testing-any/
  codespell/repos/testing-any/PKGBUILD
(from rev 120573, codespell/trunk/PKGBUILD)

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

Copied: codespell/repos/testing-any/PKGBUILD (from rev 120573, 
codespell/trunk/PKGBUILD)
===
--- testing-any/PKGBUILD(rev 0)
+++ testing-any/PKGBUILD2014-10-13 00:40:26 UTC (rev 120574)
@@ -0,0 +1,25 @@
+# $Id$
+# Maintainer: Anatol Pomozov ana...@google.com
+# Contributor: Lucas De Marchi lucas.de.mar...@gmail.com
+
+pkgname=codespell
+pkgver=1.7
+pkgrel=2
+pkgdesc='Fix common misspellings in source code'
+url='https://github.com/lucasdemarchi/codespell'
+license=(GPL)
+arch=(any)
+depends=(python)
+source=(https://github.com/lucasdemarchi/codespell/archive/v$pkgver.tar.gz)
+sha256sums=('dd82e0031df8f726202fe76ba73075fd2877ded57bba9c16152bd141261660d2')
+
+prepare() {
+  # fix build bug 
https://github.com/lucasdemarchi/codespell/commit/d3b1e186a692cd4c7477b4156277ce2f060c3b80
+  cd codespell-$pkgver
+  sed -i 's/^install:$/install: codespell/' Makefile
+}
+
+package() {
+  cd codespell-$pkgver
+  make install DESTDIR=$pkgdir prefix=/usr
+}