# Maintainer: ovf <ovf@mm.st>
pkgname=vmtouch
pkgver=1.3.1
pkgrel=0
pkgdesc="Portable file system cache diagnostics and control"
url="https://hoytech.com/vmtouch/"
arch="all"
license="BSD-3-Clause"
makedepends="perl"
subpackages="$pkgname-doc"
source="https://github.com/hoytech/vmtouch/archive/refs/tags/v$pkgver/vmtouch-$pkgver.tar.gz"
options="!check" # there are no tests

build() {
	make PREFIX=/usr
}


package() {
	make PREFIX=/usr DESTDIR="$pkgdir" install

	install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname
}

sha512sums="
77c4f55c003a03c06e894cc19fae651f4be85ab416d5ba64053580d6daa2ac59be59e8d4a93b243681ef7ead47fe7fb12b2efa3971af33af89c2ab39905ea854  vmtouch-1.3.1.tar.gz
"
