Date: Monday, January 8, 2018 @ 21:16:46
  Author: zorun
Revision: 280580

archrelease: copy trunk to community-x86_64

Added:
  libuecc/repos/
  libuecc/repos/community-x86_64/
  libuecc/repos/community-x86_64/PKGBUILD
    (from rev 280579, libuecc/trunk/PKGBUILD)

----------+
 PKGBUILD |   27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

Copied: libuecc/repos/community-x86_64/PKGBUILD (from rev 280579, 
libuecc/trunk/PKGBUILD)
===================================================================
--- repos/community-x86_64/PKGBUILD                             (rev 0)
+++ repos/community-x86_64/PKGBUILD     2018-01-08 21:16:46 UTC (rev 280580)
@@ -0,0 +1,27 @@
+# Maintainer: Baptiste Jonglez <archlinux at bitsofnetworks dot org>
+
+pkgname=libuecc
+arch=("x86_64")
+pkgver=7
+pkgrel=2
+pkgdesc="Very small Elliptic Curve Cryptography library"
+makedepends=('cmake')
+depends=('glibc')
+url="https://git.universe-factory.net/libuecc/";
+license=('BSD')
+source=("https://projects.universe-factory.net/attachments/download/85/${pkgname}-${pkgver}.tar.xz";)
+sha512sums=('44c5a00f578d301c1bffe8c2852912740f8af72ae6c2772cc263510df9b63d6b4ea15bd29215794c86d92fd797d18a078b97239ead0ad5238b1f976a6e2bcaa1')
+
+build() {
+  mkdir -p "$srcdir/build-${pkgver}"
+  cd "$srcdir/build-${pkgver}"
+
+  cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr 
"../${pkgname}-${pkgver}"
+  make
+}
+
+package() {
+  cd "$srcdir/build-${pkgver}"
+  make install DESTDIR="${pkgdir}"
+  install -Dm644 "$srcdir/${pkgname}-${pkgver}/COPYRIGHT" 
"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}

Reply via email to