diff options
author | pancho horrillo | 2020-06-30 07:59:24 +0200 |
---|---|---|
committer | pancho horrillo | 2020-06-30 07:59:24 +0200 |
commit | ddebfbae5865961e0bbce2934376fd7d96a53a1f (patch) | |
tree | ab10a60aa0d0eae7e397efa2ff8329fdf9319311 /PKGBUILD | |
parent | e9ce5a7f158525a2bf8f3329e0ba18c830e209a0 (diff) | |
download | aur-ddebfbae5865961e0bbce2934376fd7d96a53a1f.tar.gz |
Adopt package, edit maintainers, use sha256sum
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 23 |
1 files changed, 12 insertions, 11 deletions
@@ -1,24 +1,25 @@ +# Maintainer: pancho horrillo <pancho at pancho dot name> +# Contributor: Andrea Orru <andrea at orru dot io> # Python package author: Steven Myint <UNKNOWN> +_name=autoflake pkgname=python-autoflake -_pkgname=autoflake pkgver=1.3.1 -pkgrel=1 -pkgdesc="Removes unused imports and unused variables" +pkgrel=2 +pkgdesc='Removes unused imports and unused variables' arch=(any) -url="https://github.com/myint/autoflake" +url="https://github.com/myint/$_name" license=("MIT") -depends=("python-pyflakes") -makedepends=("python") -source=("https://github.com/myint/autoflake/archive/v1.3.1.tar.gz") +depends=('python-pyflakes') +makedepends=('python') +source=("https://github.com/myint/$_name/archive/v1.3.1.tar.gz") +sha256sums=('c271b46565e61cd6f754ed456cb1139d88615a821c6f31a6c621eccd15c7fa84') build() { - cd "$srcdir/$_pkgname-$pkgver" + cd "$srcdir/$_name-$pkgver" python setup.py build } package() { - cd "$srcdir/$_pkgname-$pkgver" + cd "$srcdir/$_name-$pkgver" python setup.py install --root="$pkgdir/" --optimize=1 } - -md5sums=('2cb19c3c27bd6ce8c8e8771c5b522abb') |