editorconfig-core-lua: update to 0.3.0, rename to lua53-editorconfig-core

This commit is contained in:
q66 2020-07-01 18:12:05 +02:00
parent 133134af69
commit b03337232e
4 changed files with 28 additions and 36 deletions

View file

@ -0,0 +1 @@
lua53-editorconfig-core

View file

@ -1,16 +0,0 @@
--- 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)

View file

@ -1,20 +0,0 @@
# 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 <felix.vanderjeugt@gmail.com>"
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
}

View file

@ -0,0 +1,27 @@
# Template file for 'lua53-editorconfig-core'
pkgname=lua53-editorconfig-core
version=0.3.0
revision=1
wrksrc=editorconfig-core-lua-${version}
build_style=cmake
makedepends="editorconfig-devel lua53-devel"
short_desc="EditorConfig core library written in Lua (5.3.x)"
maintainer="Felix Van der Jeugt <felix.vanderjeugt@gmail.com>"
license="BSD-2-Clause"
homepage="https://github.com/editorconfig/editorconfig-core-lua"
distfiles="https://github.com/editorconfig/editorconfig-core-lua/archive/v${version}.tar.gz"
checksum=2dfb764a89e339d9c9140de241ea6b9162c295e78bc3e946c5ce6f40784a74c4
do_install() {
vinstall build/editorconfig.so 755 usr/lib/lua/5.3/
}
post_install() {
vlicense LICENSE
}
editorconfig-core-lua_package() {
depends="lua53-editorconfig-core>=${version}_${revision}"
short_desc+=" (transitional dummy package)"
build_style=meta
}