blob: 9291c978050aecd54e9d8dcc14ea52a56b91a50d (
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
|
# Maintainer: Stefano Angeleri <weltall2 AT gmail DOT com>
# Contributor: Boris Shomodjvarac <spam AT shomodj DOT com>
pkgname=vmtouch
pkgver=1.3.1
pkgrel=1
pkgdesc="Portable file system cache diagnostics and control"
arch=('any')
url="https://github.com/hoytech/vmtouch"
license=('BSD')
source=("https://github.com/hoytech/$pkgname/archive/v$pkgver.tar.gz")
md5sums=('46c153c48ab035d37d16e8bc1587e8d8')
depends=('glibc')
makedepends=('perl')
build() {
cd "vmtouch-$pkgver"
gcc -Wall -O3 -o vmtouch vmtouch.c
pod2man --section 8 vmtouch.pod > vmtouch.8
}
package() {
cd "vmtouch-$pkgver"
install -Dm755 vmtouch $pkgdir/usr/bin/vmtouch
install -Dm644 vmtouch.8 $pkgdir/usr/share/man/man8/vmtouch.8
}
# vim:set ts=2 sw=2 et:
|