summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 62dd836ec73d75acdaf1315d329d5d2e2544a948 (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
# Maintainer: Aaron Esau <contact@aaronesau.com>
pkgname="heaptrace-git"
pkgver="2.2.8"
pkgrel="1"
license=("BSD")
arch=("x86_64")
md5sums=("SKIP")
url="https://github.com/Arinerron/heaptrace"
pkgdesc="helps visualize heap operations for pwn and debugging"
source=("${pkgname}-${pkgver}::git+https://github.com/Arinerron/heaptrace.git#branch=main")

build() {
    # build
    make "--directory=${srcdir}/${pkgname}-${pkgver}"
}

check() {
    # post_build. TODO: run test
    cd "${srcdir}/${pkgname}-${pkgver}"
}

package() {
    make "--directory=${srcdir}/${pkgname}-${pkgver}" install "DESTDIR=${pkgdir}"
    chmod 755 "${pkgdir}/usr/bin/heaptrace"
}