Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

PKGBUILD for codespell

By: a guest on Dec 9th, 2012  |  syntax: Bash  |  size: 0.78 KB  |  views: 26  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # Maintainer: Lucas De Marchi <lucas.de.marchi@gmail.com>
  2. pkgname=codespell
  3. pkgver=1.4
  4. pkgrel=3
  5. pkgdesc="Fix common misspellings in source code"
  6. url="https://github.com/lucasdemarchi/codespell"
  7. license=('GPL')
  8. arch=(any)
  9. depends=(python)
  10. source=($url/archive/v$pkgver.tar.gz
  11.         "0001-Fix-typo-in-Makefile-changing-default-datadir.patch"
  12.         )
  13.  
  14. package() {
  15.       cd "$srcdir/$pkgname-$pkgver"
  16.  
  17.       patch -Np1 < $srcdir/0001-Fix-typo-in-Makefile-changing-default-datadir.patch
  18.       install -d $pkgdir/usr/share/codespell $pkgdir/usr/bin
  19.       install -m644 -t $pkgdir/usr/share/codespell data/dictionary.txt data/linux-kernel.exclude
  20.       install -m755 -t $pkgdir/usr/bin codespell.py
  21. }
  22. md5sums=('163c107ea5b318a8a6643d8575f1236b'
  23.          '6b86571179feb777be6f2c5b43360fd2')