# Template file for 'reptyr'
pkgname=reptyr
version=0.6.2
revision=3
wrksrc="${pkgname}-${pkgname}-${version}"
build_style=gnu-makefile
short_desc="Reparent a running program to a new terminal"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="MIT"
homepage="https://github.com/nelhage/reptyr"
distfiles="https://github.com/nelhage/reptyr/archive/${pkgname}-${version}.tar.gz"
checksum=c73de510eeedc37a0aac63ea4be9a3c841bbbda029232f871b15d53733a0ee1e

post_extract() {
	sed -i 's/enum __ptrace_request/int/g' platform/linux/linux_ptrace.c
}
post_install() {
	vlicense COPYING LICENSE
}
