diff options
author | Caspar Friedrich | 2021-03-04 09:49:22 +0100 |
---|---|---|
committer | Caspar Friedrich | 2021-03-04 09:49:22 +0100 |
commit | 9068be575c11250a1ddc69753a59c9d9d0287afe (patch) | |
tree | 374cfa9d6710a53502edad6fad35410b9462a3c1 /PKGBUILD | |
download | aur-9068be575c11250a1ddc69753a59c9d9d0287afe.tar.gz |
v1.7.1
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..bae6e2e2d069 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,25 @@ +# Maintainer: Caspar Friedrich <c.s.w.friedrich@gmail.com> + +pkgname='python-imgtool' +_name="imgtool" +pkgdesc="MCUboot's image signing and key management" +pkgver=1.7.1 +pkgrel=1 +arch=('any') +url='https://pypi.org/project/${_name}/' +license=('Apache') +depends=('python>=3.6') +#makedepends=() +source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz") + +build() { + cd ${srcdir}/${_name}-${pkgver} + python setup.py build +} + +package() { + cd ${srcdir}/${_name}-${pkgver} + python setup.py install --root="$pkgdir" --optimize=1 +} + +sha256sums=('88c94036417653703bf6c7071d07316adf8386fcb517fafe672fd487217aabdd') |