PKGBUILDs/community/fsverity-utils/PKGBUILD
2023-05-12 00:02:34 +00:00

29 lines
952 B
Bash

# Maintainer: Morten Linderud <foxboron@archlinux.org>
# Contributor: tinywrkb <tinywrkb@gmail.com>
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - remove makedepend on pandoc, don't run make install-man
pkgname=fsverity-utils
pkgver=1.5
pkgrel=3
pkgdesc='Userspace utilities for fs-verity'
url='https://git.kernel.org/pub/scm/fs/fsverity/fsverity-utils.git'
license=('MIT')
arch=('x86_64')
depends=('openssl')
source=("${url}/snapshot/${pkgname}-${pkgver}.tar.gz")
sha256sums=('830e38ec081ef8171eb210461cf8bee8a707c7c60f9018a4b567af145a510884')
build() {
cd ${pkgname}-${pkgver}
make USE_SHARED_LIB=1 PREFIX=/usr DESTDIR=${pkgdir}
}
package() {
cd ${pkgname}-${pkgver}
make USE_SHARED_LIB=1 PREFIX=/usr DESTDIR=${pkgdir} install
#make USE_SHARED_LIB=1 PREFIX=/usr DESTDIR=${pkgdir} install-man
install -Dm644 LICENSE -t ${pkgdir}/usr/share/licenses/${pkgname}/
install -Dm644 README.md -t ${pkgdir}/usr/share/doc/${pkgname}/
}