Commit 2956bbd1 authored by Leo's avatar Leo Committed by Natanael Copa

main/liblockfile: upgrade to 1.15

parent b8772f91
# Contributor: Duane Hughes <duanejevon@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=liblockfile
pkgver=1.14
pkgver=1.15
pkgrel=0
pkgdesc="Shared library with NFS-safe locking functions"
url="http://packages.debian.org/sid/liblockfile1"
url="https://github.com/miquels/liblockfile"
arch="all"
license="GPL"
options="!check" # upstream does not provide tests
subpackages="$pkgname-dev $pkgname-doc"
source="http://ftp.debian.org/debian/pool/main/libl/liblockfile/${pkgname}_$pkgver.orig.tar.gz"
builddir="$srcdir/$pkgname"
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"
......@@ -22,9 +20,14 @@ build() {
make -j1
}
check() {
cd "$builddir"
make test
}
package() {
cd "$builddir"
make -j1 DESTDIR="$pkgdir" install
}
sha512sums="d6d75a1ddb55bae8ee63bd0cbacf7ab8cd6d28b29a7d3c2e4a5c31c76c6743ed517cdebd42e3ef5c44698faebfd1537b023510c692b54a1275e7114605fe6550 liblockfile_1.14.orig.tar.gz"
sha512sums="486c7cdcb340bee8aecc92ac667b39758faa865857e14a1c087dadf2a3031edbd6cc67ec8dd8b641e76184e80ba934cbad0dc053e888b66ee54617ad470b7776 liblockfile-1.15.tar.gz"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment