Username: Password: Remember me
# Maintainer: Francesco Marinucci <franzmari [at] chakralinux [dot] org>
 
pkgname=thefuck
pkgver=3.28
pkgrel=1
pkgdesc="Magnificent app which corrects your previous console command"
arch=('x86_64')
url="https://github.com/nvbn/thefuck"
license=('MIT')
depends=('python3-setuptools' 'python3-psutil' 'python3-six' 'python3-colorama' 'python3-decorator')
makedepends=('python3-pip')
source=("https://github.com/nvbn/thefuck/archive/$pkgver.tar.gz")
sha256sums=('b5c83e380e4af90d49ab01a55a326e608875bedb981bc7dae9b6a4b72cc521c4')
 
build() {
  cd $pkgname-$pkgver
  python3 setup.py build
}
 
package() {
  cd $pkgname-$pkgver
  python3 setup.py install -O1 --prefix=/usr --root=$pkgdir
 
  install -Dm644 LICENSE.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE.md"
}