[arch-commits] Commit in libgfshare/repos (staging-x86_64 staging-x86_64/PKGBUILD)

Felix Yan felixonmars at archlinux.org
Tue May 19 07:59:18 UTC 2020


    Date: Tuesday, May 19, 2020 @ 07:59:18
  Author: felixonmars
Revision: 386098

archrelease: copy trunk to staging-x86_64

Added:
  libgfshare/repos/staging-x86_64/
  libgfshare/repos/staging-x86_64/PKGBUILD
    (from rev 386095, libgfshare/trunk/PKGBUILD)

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

Copied: libgfshare/repos/staging-x86_64/PKGBUILD (from rev 386095, libgfshare/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2020-05-19 07:59:18 UTC (rev 386098)
@@ -0,0 +1,34 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Alan Berndt <alan at eatabrick.org>
+
+pkgname=libgfshare
+pkgver=2.0.0
+pkgrel=3
+pkgdesc='Utilities for multi-way secret-sharing'
+url='https://www.digital-scurf.org/software/libgfshare'
+arch=('x86_64')
+license=('MIT')
+depends=('glibc')
+provides=('libgfshare.so')
+source=(https://www.digital-scurf.org/files/libgfshare/libgfshare-${pkgver}.tar.bz2)
+sha512sums=('d6fd60a743825df85cb429b1dee583ab0a6d998fd5c79ee45b3da4c83a55970aee896337514c3686abfd3ff63099232e0f4af4203c32fa042500bfa8bc8d3495')
+
+build() {
+  cd ${pkgname}-${pkgver}
+  ./configure --prefix=/usr
+  make
+}
+
+check() {
+  cd ${pkgname}-${pkgver}
+  make -k check
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  make DESTDIR="${pkgdir}" install
+  install -Dm 644 COPYRIGHT -t "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -Dm 644 README doc/theory.tex -t "${pkgdir}/usr/share/doc/${pkgname}"
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list