package awk {
	description = "one true awk";
	website = "https://github.com/onetrueawk/awk";
	anitya = 16171;

	version# = "20260426";
	source = remoteGitHub {
		suffix = "onetrueawk/awk";
		tag = version;
		checksum = "ewAvWLEHajhm7cA7v4DsKVk1c11niCLKIE5Q-8W_sxv1XXsbZlcOuWn1KOBYMxjo";
	};

	enterSource = true;
	writable = true;
	chmod = true;

	exec = make {
		omitDefaults = true;
		inPlace = true;
		skipConfigure = true;
		preCheck = "install -vD a.out /system/bin/awk\n";
		install = "install -vD a.out /work/system/bin/awk";
	};

	inputs = [
		m4,
		bison,
		diffutils,
	];
}
