diff options
author | funilrys | 2019-03-01 23:06:24 +0100 |
---|---|---|
committer | funilrys | 2019-03-01 23:06:24 +0100 |
commit | a80cd39e893fcea05a9d986f55b9cf0fbb65e502 (patch) | |
tree | 4732c25531baa90f6486c89cd1dd2e9b1b78636b /PKGBUILD | |
download | aur-a80cd39e893fcea05a9d986f55b9cf0fbb65e502.tar.gz |
Introduction of a-john-shots
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 00000000000..575f6c56836 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,35 @@ +# Maintainer: Nissar Chababy <contact at funilrys dot com> + +pkgname="a-john-shots" +_name=${pkgname} +upstreamName=${pkgname} +pkgver=2.0.0 +pkgrel=1 +pkgdesc="A tool to get the Security Hash Algorightms (SHA) of all file in a given path." +arch=('any') +url="https://github.com/funilrys/A-John-Shots" +license=('MIT') +depends=( + 'python3' + 'python-setuptools' + 'python-colorama' +) +source=( + "https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${upstreamName}-${pkgver}.tar.gz" + "https://raw.githubusercontent.com/funilrys/A-John-Shots/master/LICENSE" +) +sha256sums=( + "a5f2aa947b847acf1d5252c4be38e118c9d273961eb3bdaea9b40e521c81f8d9" + "1a1b0133c4abf0795a5d861a6832374d1e74e268f81b9164d6106f461342caff" +) + +build() { + cd ${srcdir}/${upstreamName}-${pkgver} + python setup.py build +} + +package() { + install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + cd ${srcdir}/${upstreamName}-${pkgver} + python setup.py install --root="${pkgdir}/" --optimize=1 --skip-build +} |