diff --git a/srcpkgs/editorconfig-core-lua/patches/testing-not-included.patch b/srcpkgs/editorconfig-core-lua/patches/testing-not-included.patch new file mode 100644 index 00000000000..39dad5031a7 --- /dev/null +++ b/srcpkgs/editorconfig-core-lua/patches/testing-not-included.patch @@ -0,0 +1,16 @@ +--- CMakeLists.txt.orig ++++ CMakeLists.txt +@@ -109,8 +109,8 @@ function(new_ec_test_full_ec_file_path name ec_file src_file regex) + set_tests_properties(${name}-open ${name}-parse PROPERTIES PASS_REGULAR_EXPRESSION "${regex}") + endfunction() + +-add_subdirectory(tests/glob) +-add_subdirectory(tests/properties) +-add_subdirectory(tests/parser) +-add_subdirectory(tests/filetree) ++#add_subdirectory(tests/glob) ++#add_subdirectory(tests/properties) ++#add_subdirectory(tests/parser) ++#add_subdirectory(tests/filetree) + #add_subdirectory(tests/cli) + diff --git a/srcpkgs/editorconfig-core-lua/template b/srcpkgs/editorconfig-core-lua/template new file mode 100644 index 00000000000..864017d3066 --- /dev/null +++ b/srcpkgs/editorconfig-core-lua/template @@ -0,0 +1,20 @@ +# Template file for 'editorconfig-lua' +pkgname=editorconfig-core-lua +version=0.2.0 +revision=1 +build_style=cmake +makedepends="editorconfig-devel lua-devel" +short_desc="EditorConfig core library written in Lua" +maintainer="Felix Van der Jeugt " +license="BSD-2-Clause" +homepage="https://github.com/editorconfig/${pkgname}" +distfiles="https://github.com/editorconfig/${pkgname}/archive/v${version}.tar.gz" +checksum=cce8fc6a02d41a665bee098b275026ab9b9043f97c553a3019ade650779b13a0 + +do_install() { + vinstall build/editorconfig_core.so 755 usr/lib/lua/5.3/ +} + +post_install() { + vlicense LICENSE +}