PKGBUILDs/community/fsverity-utils/PKGBUILD

30 lines
966 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
2022-11-05 02:45:00 +00:00
pkgrel=2
2022-02-06 22:03:58 +00:00
pkgdesc='Userspace utilities for fs-verity'
url='https://git.kernel.org/pub/scm/linux/kernel/git/ebiggers/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}/
}