PKGBUILDs/extra/fsverity-utils/PKGBUILD

29 lines
857 B
Bash
Raw Normal View History

2022-02-06 22:03:58 +00:00
# Maintainer: Morten Linderud <foxboron@archlinux.org>
# Contributor: tinywrkb <tinywrkb@gmail.com>
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
2024-03-23 17:12:10 +00:00
# - remove makedepend on pandoc
2022-02-06 22:03:58 +00:00
pkgname=fsverity-utils
2024-03-23 17:12:10 +00:00
pkgver=1.6
pkgrel=1
2022-02-06 22:03:58 +00:00
pkgdesc='Userspace utilities for fs-verity'
2023-05-12 00:02:30 +00:00
url='https://git.kernel.org/pub/scm/fs/fsverity/fsverity-utils.git'
2022-02-06 22:03:58 +00:00
license=('MIT')
arch=('x86_64')
depends=('openssl')
source=("${url}/snapshot/${pkgname}-${pkgver}.tar.gz")
2024-03-23 17:12:10 +00:00
sha256sums=('c7aa6b17a8a069224321ff94e46fb91a6426828ca78170a879a52cef2597abb7')
2022-02-06 22:03:58 +00:00
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}/
}