archrelease: copy trunk to community-any
[ArchLinux/community.git] / libmd / trunk / PKGBUILD
blob05c6b419f7df79bfc74bab92d9d13ae5c6bb88cc
1 # Maintainer: Bruno Pagani <archange@archlinux.org>
2 # Maintainer: Morten Linderud <foxboron@archlinux.org>
3 # Contributor: C. Dominik Bódi <dominik dot bodi at gmx dot de>
5 pkgname=libmd
6 pkgver=1.0.4
7 pkgrel=1
8 pkgdesc="Message Digest functions from BSD systems"
9 arch=('x86_64')
10 url="https://www.hadrons.org/software/libmd/"
11 license=('BSD')
12 depends=('glibc')
13 source=("https://libbsd.freedesktop.org/releases/$pkgname-$pkgver.tar.xz"{,.asc})
14 sha256sums=('f51c921042e34beddeded4b75557656559cf5b1f2448033b4c1eec11c07e530f'
15             'SKIP')
16 validpgpkeys=('4F3E74F436050C10F5696574B972BF3EA4AE57A3') # Guillem Jover
18 build() {
19     cd ${pkgname}-${pkgver}
20     ./configure --prefix=/usr
21     make
24 check() {
25     cd ${pkgname}-${pkgver}
26     make -k check
29 package() {
30     cd ${pkgname}-${pkgver}
31     make DESTDIR="${pkgdir}" install
32     install -Dm644 COPYING -t "${pkgdir}"/usr/share/licenses/${pkgname}/