PKGBUILDs/extra/fsverity-utils/PKGBUILD

30 lines
952 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>
# - remove makedepend on pandoc, don't run make install-man
pkgname=fsverity-utils
pkgver=1.5
2023-05-12 00:02:30 +00:00
pkgrel=3
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")
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}/
}