# Maintainer: Letu Ren # Contributor: Bumsik Kim pkgname=uftrace pkgver=0.14 pkgrel=1 pkgdesc="Function graph tracer for C/C++/Rust" arch=('x86_64') url="https://github.com/namhyung/uftrace" license=('GPL2') depends=('libelf' 'python' 'ncurses' 'pkgconf' 'luajit' 'capstone' 'libunwind') makedepends=('pandoc') # Disable LTO due to upstream issue # https://github.com/namhyung/uftrace/issues/1343 options=('!lto') source=("uftrace-v${pkgver}.tar.gz"::"https://github.com/namhyung/uftrace/archive/v${pkgver}.tar.gz") # Use updpkgsums to update the checksum sha256sums=('b81255bc288e79e96a5b158d4875fa6425ad51c85f4c4c8523c1defb9366ad12') build() { cd "${pkgname}-${pkgver}" ./configure --prefix=/usr make } package() { cd "${pkgname}-${pkgver}" make DESTDIR="${pkgdir}" install }