summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3f4be686645160197d0a0675221e6648030b8ba4 (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
# Maintainer: Stefano Angeleri <weltall2 AT gmail DOT com>
# Contributor: Boris Shomodjvarac <spam AT shomodj DOT com>
pkgname=vmtouch
pkgver=1.0.1
pkgrel=2
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=('ee7abf6103882d349281f5e166d11f77')
depends=('glibc')
makedepends=('perl')

build() {
  cd "hoytech-vmtouch-ae0c045"
  gcc -Wall -O3 -o vmtouch vmtouch.c
  pod2man --section 8 vmtouch.pod > vmtouch.8
}

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

  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: