blob: 1af8f619c39d46308d668bb4b6d98c57f35119ac (
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
|
# Maintainer: maple3142 <kirby741852963@gmail.com>
pkgname=ecgen-git
pkgver=0.8.0.r0.g775e592
pkgrel=1
pkgdesc="Tool for generating Elliptic curve domain parameters"
arch=('x86_64')
url="https://github.com/J08nY/ecgen"
license=('GPL')
depends=('pari')
makedepends=('git')
source=("ecgen::git+https://github.com/J08nY/ecgen")
md5sums=('SKIP')
prepare() {
cd "$srcdir/ecgen"
git describe --long --abbrev=7 | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "$srcdir/ecgen"
make
}
package() {
cd "$srcdir/ecgen"
install -Dm755 ecgen ${pkgdir}/usr/bin/ecgen
install -Dm644 README.md -t ${pkgdir}/usr/share/doc/ecgen
}
|