summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 75d15600cf1602a25e918915ae49c9629e143fd9 (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
pkgname=memutils-git
pkgver=r49.g8447865
pkgrel=1

pkgdesc='utilities for watching and modifying the memory of running processes'
url='https://git.cloudef.pw/memutils.git'
arch=('x86_64')
license=('zlib')

depends=('glibc')
makedepends=('git')

provides=('memutils')
conflicts=('memutils')

source=('git+https://git.cloudef.pw/memutils.git')

sha256sums=('SKIP')

pkgver() {
    cd memutils
    printf 'r%s.g%s' "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
    cd memutils
    make
}

package() {
    cd memutils
    make PREFIX=/usr DESTDIR="$pkgdir" install
    # install -Dm0644 LICENSE "$pkgdir"/usr/share/licenses/"$pkgname"/LICENSE
}