# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=chelf
pkgver=0.2.2
pkgrel=0
pkgdesc="Display or change the stack size of an ELF binary"
url=" "
arch="all"
options="!check"  # No test suite.
license="BSD-2-Clause"
depends=""
makedepends=""
subpackages=""
source="$pkgname-$pkgver.tar.xz::https://distfiles.adelielinux.org/source/$pkgname-$pkgver.txz"

build() {
	cd "$builddir"
	make
}

package() {
	cd "$builddir"
	install -D -m755 chelf "$pkgdir"/usr/bin/chelf
}

sha512sums="bf29f0f526ca1977e0d0743901f6afeb23b2dd78b60618ea65201ea95000832854250f44de6e7625b6d546cace4638be094989cdb96b4e842285ef85718c0082  chelf-0.2.2.tar.xz"