summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f6b273f4c043672d4cea733d3ce1da9611c9436f (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
32
33
34
35
36
37
# Maintainer:  Evaggelos Balaskas <evaggelos [_AT_] balaskas [_DOT]_ gr>
pkgname=faultstat
pkgdesc="page fault tracking tool"

pkgver=0.01.02
pkgrel=1

arch=('x86_64')
license=('GPL2')

makedepends=(
    'make'
    'gcc'
)

url="https://github.com/ColinIanKing/${pkgname}"

source=(
    ${url}/archive/V${pkgver}.tar.gz
)

sha256sums=(
    '4403a82f37e49b0f5d674230686465500fd3b138d6b5414e9b3de7b9a6dea57a'
)

build() {
    cd "${pkgname}-${pkgver}"
    make
}

package() {
    cd "${pkgname}-${pkgver}"
    install -Dm755 ${pkgname} "${pkgdir}/usr/bin/${pkgname}"
    install -Dm644 ${pkgname}.8 "$pkgdir/usr/share/man/man8/${pkgname}.8"
}

# vim: sts=2 sw=2 ts=2 et