summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 02cd1815ccd00e5d2926e0d59ec2cfc1606511b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
pkgname='python-dissononce-git'
pkgver=0.34.3.r4.g1a5b468
pkgrel=1
pkgdesc="python implementation for Noise Protocol Framework"
url="https://github.com/tgalal/dissononce"
arch=('any')
license=('MIT')
depends=('python' 'python-cryptography' 'python-transitions')
makedepends=('python-setuptools' 'git')
provides=('python-dissononce')
source=("${pkgname}::git+https://github.com/tgalal/dissononce")
sha512sums=('SKIP')

pkgver() {
  cd "${srcdir}/${pkgname}"
  git describe --long | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}

package() {
  cd "${srcdir}/${pkgname}"
  python setup.py install --root="$pkgdir/"
}