[arch-commits] Commit in libmd/repos (community-x86_64 community-x86_64/PKGBUILD)
Bruno Pagani
archange at archlinux.org
Tue Mar 13 22:45:56 UTC 2018
Date: Tuesday, March 13, 2018 @ 22:45:55
Author: archange
Revision: 307440
archrelease: copy trunk to community-x86_64
Added:
libmd/repos/community-x86_64/
libmd/repos/community-x86_64/PKGBUILD
(from rev 307439, libmd/trunk/PKGBUILD)
----------+
PKGBUILD | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
Copied: libmd/repos/community-x86_64/PKGBUILD (from rev 307439, libmd/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2018-03-13 22:45:55 UTC (rev 307440)
@@ -0,0 +1,31 @@
+# Maintainer: Bruno Pagani <archange at 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}/
+}
More information about the arch-commits
mailing list