summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 773720161dd600ed064af8ad4e14e0082e057348 (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
27
28
29
30
31
# Maintainer: Alex Henrie <alexhenrie24@gmail.com>
pkgname=ima-inspect-git
pkgver=0.15.r0.g2e248ce
pkgrel=1
pkgdesc='Tool to get a human-readable representation of Integrity Measurement Architecture file attributes'
arch=('x86_64')
url='https://github.com/mgerstner/ima-inspect'
license=('GPL2')
depends=('ima-evm-utils')
makedepends=('attr' 'tclap')
provides=('ima-inspect')
conflicts=('ima-inspect')
source=("git+https://github.com/mgerstner/ima-inspect")
sha256sums=('SKIP')

pkgver() {
	cd "$srcdir/ima-inspect"
	git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g;s/^v//'
}

build() {
	cd ima-inspect
	./bootstrap
	./configure --prefix=/usr
	make
}

package() {
	cd ima-inspect
	make DESTDIR="$pkgdir/" install
}