summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: df99d1b1afcfa216b832a70d070ab8c6fb0442a1 (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
25
26
27
28
29
30
# Maintainer: Anton Semjonov < anton \├Ąt semjonov.de >

pkgname="tinyssh-keyconvert"
pkgdesc="Convert OpenSSH ed25519 / ecdsa-nistp256 secret keys to binary format for TinySSH"

pkgver=0.3.2
pkgrel=1

arch=('any')
url="https://github.com/ansemjo/$pkgname"
license=('GPL-3.0')

depends=()
makedepends=('python-setuptools')

provides=($pkgname)
conflicts=($pkgname)

source=("${url}/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz")
sha256sums=('289a8e679e63ba2e67ac8e5f6c300213604c2f1a557f885d4638e8a0bd200fef')

build() {
  cd "${pkgname}-${pkgver}"
  python ./setup.py build
}

package() {
  cd "${pkgname}-${pkgver}"
  python ./setup.py install --root="${pkgdir}/" --optimize=1 --skip-build
}