# Maintainer: Lucas De Marchi pkgname=codespell pkgver=1.4 pkgrel=3 pkgdesc="Fix common misspellings in source code" url="https://github.com/lucasdemarchi/codespell" license=('GPL') arch=(any) depends=(python) source=($url/archive/v$pkgver.tar.gz "0001-Fix-typo-in-Makefile-changing-default-datadir.patch" ) package() { cd "$srcdir/$pkgname-$pkgver" patch -Np1 < $srcdir/0001-Fix-typo-in-Makefile-changing-default-datadir.patch install -d $pkgdir/usr/share/codespell $pkgdir/usr/bin install -m644 -t $pkgdir/usr/share/codespell data/dictionary.txt data/linux-kernel.exclude install -m755 -t $pkgdir/usr/bin codespell.py } md5sums=('163c107ea5b318a8a6643d8575f1236b' '6b86571179feb777be6f2c5b43360fd2')