summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b7519604b7168e33c986a3805f618dcd7d071678 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Amanoel Dawod <amoka at amanoel dot com>

pkgname=memstrack
pkgver=0.2.2
pkgrel=1
pkgdesc="A memory allocation trace, like a hot spot analyzer for memory allocation"
arch=('any')
url="https://github.com/ryncsn/memstrack"
license=('GPL3')
makedepends=('gcc' 'ncurses')
source=("$url/archive/v$pkgver.tar.gz")
sha256sums=('93544fb2a9be533bbb7aec28afb4227f1156c38f3cd7576e5afa329ea103d3f5')

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

package() {
  cd $pkgname-$pkgver
  make DESTDIR="$pkgdir" install
  install -Dt "$pkgdir"/usr/share/licenses/$pkgname -m644 LICENSE
}