Date: Tuesday, March 13, 2018 @ 22:45:34
  Author: archange
Revision: 307439

Initial addition of libmd in [community]

Added:
  libmd/
  libmd/repos/
  libmd/trunk/
  libmd/trunk/PKGBUILD

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

Added: libmd/trunk/PKGBUILD
===================================================================
--- libmd/trunk/PKGBUILD                                (rev 0)
+++ libmd/trunk/PKGBUILD        2018-03-13 22:45:34 UTC (rev 307439)
@@ -0,0 +1,31 @@
+# Maintainer: Bruno Pagani <archa...@archlinux.org>
+# Contributor: C. Dominik Bódi <dominik dot bodi at gmx dot de>
+
+pkgname=libmd
+pkgver=1.0.0
+pkgrel=1
+pkgdesc="Message Digest functions from BSD systems"
+arch=('x86_64')
+url="https://www.hadrons.org/software/libmd/";
+license=('BSD')
+depends=('glibc')
+source=("https://archive.hadrons.org/software/$pkgname/$pkgname-$pkgver.tar.xz"{,.asc})
+sha256sums=('f21aea69f6411cb4307cda1f6378c7ed07830202b5f4cb9e64f681fdaf2d64c7' 
'SKIP')
+validpgpkeys=('4F3E74F436050C10F5696574B972BF3EA4AE57A3') # Guillem Jover
+
+build() {
+    cd ${pkgname}-${pkgver}
+    ./configure --prefix=/usr
+    make
+}
+
+check() {
+    cd ${pkgname}-${pkgver}
+    make -k check
+}
+
+package() {
+    cd ${pkgname}-${pkgver}
+    make DESTDIR="${pkgdir}" install
+    install -Dm644 COPYING -t "${pkgdir}"/usr/share/licenses/${pkgname}/
+}

Reply via email to