summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a7be25abc4bc4904a3dfb4803a0a70afce5a7a7d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Maintainer: Dan Trickey
# Contributor: Dan Trickey
# This file is automatically generated by Arch Nemesis
pkgname=python-damm32
pkgver=1.2.1
pkgrel=1
pkgdesc='Pure-Python implementation of the Damm Algorithm in Base 32 '
arch=('any')
url="https://github.com/pyinv/damm32"
license=('MIT')
depends=('python')
makedepends=('python-setuptools' 'python-dephell')
source=('https://api.github.com/repos/pyinv/damm32/tarball/v1.2.1')
sha512sums=('2906c3bb3a133703260301840a6b8dc10b52297f09e461abed676c44e6b2dfc58aafdc9c11cd99495afe2c6af30420994a97abe0a59d95919c155398a92be4b0')

prepare() {
    cd $(ls ${srcdir} | grep damm32)
    dephell deps convert --from pyproject.toml --to setup.py
}

package() {
  cd $(ls ${srcdir} | grep damm32)
  python setup.py install --root="$pkgdir/" --optimize=1
}