summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: fb9c1bbbac499d7ea1aae4d1b2cf9436719041b7 (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: Stefano Angeleri <weltall2 AT gmail DOT com>
# Contributor: Boris Shomodjvarac <spam AT shomodj DOT com>
pkgname=vmtouch
pkgver=0.8.0
pkgrel=1
pkgdesc="Portable file system cache diagnostics and control"
arch=('i686' 'x86_64')
url="https://github.com/hoytech/vmtouch"
license=('BSD')
source=("https://github.com/hoytech/vmtouch/tarball/$pkgname-$pkgver")
md5sums=('e0b874b5685538bbbb86251cbfead2e3')
depends=('glibc')

build() {
  cd "hoytech-vmtouch-a54935b"
  gcc -Wall -O3 -o vmtouch vmtouch.c
}

package() {
  cd "hoytech-vmtouch-a54935b"

  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: