Files
extra/lockfile-progs/PKGBUILD
2025-06-22 20:39:04 -05:00

28 lines
873 B
Bash

# Maintainer: Jesus E. <heckyel@riseup.net>
pkgname=lockfile-progs
pkgver=0.1.18
pkgrel=1
pkgdesc="Free and libre programs for locking and unlocking files and mailboxes"
arch=('i686' 'x86_64')
license=('GPL-2')
url='https://packages.debian.org/unstable/misc/lockfile-progs'
depends=('glibc' 'liblockfile')
makedepends=('liblockfile')
source=("https://deb.debian.org/debian/pool/main/l/lockfile-progs/${pkgname}_${pkgver}.tar.gz")
sha512sums=('08ef12fd6d586a43b390ead013aa7401beeda68e1d681b3d168d36530e383de8f10c8f9f53fec281f02ef39290b64b0abb9f543fde7b30061204523e6e8ec6e3')
build() {
cd $pkgname-$pkgver
make
}
package() {
cd $pkgname-$pkgver
mkdir -p "$pkgdir"/usr/bin
install -s bin/* "$pkgdir"/usr/bin
mkdir -p "$pkgdir"/usr/share/man/man1
install man/*.1 "$pkgdir"/usr/share/man/man1
install -Dm644 COPYING -t "$pkgdir/usr/share/licenses/$pkgname"
}