summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4bdbab8e3819270e7972d2451211e010cfe48a62 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Maintainer: tinywrkb <tinywrkb@gmail.com>

pkgname=fsverity-utils
pkgver=1.4
pkgrel=1
pkgdesc='Userspace utilities for fs-verity'
url='https://git.kernel.org/pub/scm/linux/kernel/git/ebiggers/fsverity-utils.git'
license=('custom:MIT')
source=("${url}/snapshot/${pkgname}-${pkgver}.tar.gz")
sha256sums=('587f95bb724602fa1682877a3755e7ad557d77ffce77ff8c1e4f97cf1c31147c')
arch=('x86_64')
depends=('openssl')
makedepends=('pandoc')

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}/
}