summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeal Oakey2015-10-18 01:49:30 +0200
committerNeal Oakey2015-10-18 01:49:30 +0200
commita8c61051548a79d13aeb322aa9cfdaf29542b4a8 (patch)
tree34f60beedba2281e3d317dbca7cc0d8e2c595f15
downloadaur-a8c61051548a79d13aeb322aa9cfdaf29542b4a8.tar.gz
Reimported Package
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD28
2 files changed, 45 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..3c3048304dd
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = ecdsautils
+ pkgdesc = Tiny collection of programs used for ECDSA (keygen, sign, verify)
+ pkgver = 0.3.2
+ pkgrel = 1
+ url = https://github.com/tcatm/ecdsautils
+ arch = i686
+ arch = x86_64
+ license = BSD
+ makedepends = cmake
+ makedepends = libuecc>=3
+ depends = glibc
+ provides = =
+ source = https://github.com/tcatm/ecdsautils/archive/v0.3.2.tar.gz
+ sha256sums = a828417c985ccfc623bb613e92ccc8af6c6f24a5bcab8b112b90c033a816204f
+
+pkgname = ecdsautils
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..3f5943b2ec6
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,28 @@
+pkgname=ecdsautils
+arch=(i686 x86_64)
+pkgver=0.3.2
+pkgrel=1
+pkgdesc="Tiny collection of programs used for ECDSA (keygen, sign, verify)"
+makedepends=('cmake' 'libuecc>=3')
+depends=('glibc')
+url="https://github.com/tcatm/ecdsautils"
+license=('BSD')
+conflicts=("${_pkgname}")
+provides=("${_pkgname}=${_pkgver}")
+
+source=(https://github.com/tcatm/ecdsautils/archive/v${pkgver}.tar.gz)
+sha256sums=('a828417c985ccfc623bb613e92ccc8af6c6f24a5bcab8b112b90c033a816204f')
+
+build() {
+ rm -rf "$srcdir/build"
+ mkdir -p "$srcdir/build"
+ cd "$srcdir/build"
+
+ cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr "../${pkgname}-${pkgver}"
+ make
+}
+
+package() {
+ cd "$srcdir/build"
+ make install DESTDIR="${pkgdir}"
+}