# PKGBUILD generated by pipman # Python package author: Steven Myint pkgname=python-autoflake pkgver=1.2 pkgrel=1 pkgdesc="Removes unused imports and unused variables" arch=(any) url="https://github.com/myint/autoflake" license=(Expat License) makedepends=("python" "python-pip") build() { pip install --no-deps --target="autoflake" autoflake } package() { mkdir -p $pkgdir/usr/lib/python3.7/site-packages/ cp -r $srcdir/autoflake/* $pkgdir/usr/lib/python3.7/site-packages/ }