PKGBUILDs/extra/fsverity-utils/PKGBUILD
2024-03-23 13:12:10 -04:00

28 lines
857 B
Bash

# Maintainer: Morten Linderud <foxboron@archlinux.org>
# Contributor: tinywrkb <tinywrkb@gmail.com>
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - remove makedepend on pandoc
pkgname=fsverity-utils
pkgver=1.6
pkgrel=1
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=('c7aa6b17a8a069224321ff94e46fb91a6426828ca78170a879a52cef2597abb7')
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
install -Dm644 LICENSE -t ${pkgdir}/usr/share/licenses/${pkgname}/
install -Dm644 README.md -t ${pkgdir}/usr/share/doc/${pkgname}/
}