{ "name": "astyle", "version": "3.6.19", "summary": "Artistic Style: a source code beautifier for C, C++, C# and Java (the IDE's C and C++ Format Document)", "category": "tool", "license": "MIT", "homepage": "https://astyle.sourceforge.net/", "source": { "url": "https://downloads.sourceforge.net/project/astyle/astyle/astyle%203.6/astyle-3.6.19.tar.bz2", "sha256": "ae5ef4ddf1f88288bcc8f6d53266707f80a81fcc6decf4da5fe5c8e420a0ab1c" }, "watch": {"kind": "index", "url": "https://sourceforge.net/projects/astyle/rss?path=/astyle", "regex": "astyle-([0-9]+\\.[0-9]+\\.[0-9]+)\\.tar\\.bz2", "source": "https://downloads.sourceforge.net/project/astyle/astyle/astyle%20{major}.{minor}/astyle-{version}.tar.bz2"}, "deps": [], "env_packages": [], "static": true, "nss": false, "check": "bin/astyle --version | has -x 'Artistic Style Version 3.6.19' && [ \"$(printf 'int main(){if(1){return 0;}}\\n' | bin/astyle --style=kr --indent=spaces=4)\" = \"$(printf 'int main()\\n{\\n if(1) {\\n return 0;\\n }\\n}')\" ] && check_static bin/astyle && echo 'astyle 3.6.19: K&R braces and four-space indentation from standard input'" }