# Contributor: Duane Hughes # Maintainer: Natanael Copa pkgname=liblockfile pkgver=1.16 pkgrel=0 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-static $pkgname-dev $pkgname-doc" source="$pkgname-$pkgver.tar.gz::https://github.com/miquels/$pkgname/archive/v$pkgver.tar.gz" build() { cd "$builddir" LDCONFIG=/bin/true \ ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --enable-shared make -j1 } check() { cd "$builddir" make test } package() { cd "$builddir" make -j1 DESTDIR="$pkgdir" install } sha512sums="ee75ecf0dd25744de4e3ce7d6b12483ead2deaf0cd6a527e8493100c5d714751fe97e057873c8c7b04a935f9b46a5ea502950f15d3ce54ecc63d997ab1cee33d liblockfile-1.16.tar.gz"