# Contributor: Duane Hughes # Maintainer: Natanael Copa pkgname=liblockfile pkgver=1.15 pkgrel=1 pkgdesc="Shared library with NFS-safe locking functions" url="https://github.com/miquels/liblockfile" arch="all" license="LGPL-2.0-or-later and GPL-2.0-or-later" subpackages="$pkgname-dev $pkgname-doc" source="$pkgname-$pkgver.tar.gz::https://github.com/miquels/$pkgname/archive/v$pkgver.tar.gz" build() { cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc make -j1 } check() { cd "$builddir" make test } package() { cd "$builddir" make -j1 DESTDIR="$pkgdir" install } sha512sums="486c7cdcb340bee8aecc92ac667b39758faa865857e14a1c087dadf2a3031edbd6cc67ec8dd8b641e76184e80ba934cbad0dc053e888b66ee54617ad470b7776 liblockfile-1.15.tar.gz"