mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-19 05:36:38 +02:00
38 lines
1 KiB
Text
38 lines
1 KiB
Text
# Contributor: Duane Hughes <duanejevon@gmail.com>
|
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=lockfile-progs
|
|
pkgver=0.1.19
|
|
pkgrel=4
|
|
pkgdesc="Programs for locking and unlocking files and mailboxes"
|
|
url="https://packages.debian.org/sid/lockfile-progs"
|
|
arch="all"
|
|
license="GPL-2.0-or-later"
|
|
makedepends="liblockfile-dev"
|
|
subpackages="$pkgname-doc"
|
|
source="https://deb.debian.org/debian/pool/main/l/lockfile-progs/lockfile-progs_$pkgver.tar.gz"
|
|
|
|
prepare() {
|
|
default_prepare
|
|
# allow us to verride CFLAGS by using 'CFLAGS ?= ...' instead of
|
|
# 'CFLAGS := ...' in the Makefile
|
|
sed -i -e '/^CFLAGS/s/:=/?=/' Makefile
|
|
}
|
|
|
|
build() {
|
|
make
|
|
}
|
|
|
|
check() {
|
|
make check
|
|
}
|
|
|
|
package() {
|
|
install -d "$pkgdir"/usr/bin
|
|
install -d "$pkgdir"/usr/share/man/man1
|
|
install -m 755 "$builddir"/bin/* "$pkgdir"/usr/bin
|
|
install -m 644 "$builddir"/man/* "$pkgdir"/usr/share/man/man1
|
|
}
|
|
|
|
sha512sums="
|
|
7ec20466bee9278562ad764d07048fa5ed14003e18a0147f201020a3eb14e3d14aad5a3a89682ce358c80770dc2b944fc5b453d6afae2dbf2f58d1b756d80303 lockfile-progs_0.1.19.tar.gz
|
|
"
|