diff --git a/app-vim/vimwiki/Manifest b/app-vim/vimwiki/Manifest new file mode 100644 index 0000000..835e4d8 --- /dev/null +++ b/app-vim/vimwiki/Manifest @@ -0,0 +1,22 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + +DIST vimwiki-2.5.tar.gz 1642297 BLAKE2B 20d77f12aca001708c30835027d7146b0f589776cf7e3f92615d8b50cc8397d43ef8c3453c1007fa82b032a743a3a4ecca4dc73123487c1603f87312cf085e90 SHA512 d99232aeb040a3aa3ef6212653074f72d48451a541aeba2c5fbc5444d2d383ffe59cdce4acda6e0d6a75fd7eda22f48e8c99a5780f6c33a31a6f52dcb7c54d6c +-----BEGIN PGP SIGNATURE----- + +iQKTBAEBCAB9FiEEcg3s4uUa4XE72XWQvF3CmYqtKyEFAmAxNk9fFIAAAAAALgAo +aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDcy +MERFQ0UyRTUxQUUxNzEzQkQ5NzU5MEJDNURDMjk5OEFBRDJCMjEACgkQvF3CmYqt +KyEHgw/+LevP7UV9ZkHwxXgAluShaUZJJAflwqMd8qLcJMogcTBtwQrDv0+GvgoJ +52nu3qeDKBOYCOfod/qGSrZhaNNRWFSi2PKLrNkITCjWjbbU9j7PfjK+Qv06VzKa +l7NDA1TrzuRPiuEzgMnoTAdAgJ4YLkEhm6zb3V5dErlwwf2DTHaUeEiec6ZbiPZ1 +QDDJ6Sfxt+JjG3fVVBAwENNxSfabPjps7/ko282Br3wbGcpxlgvHIthD3alS5XH8 +JysmQUOd1vOQ8Eq0QMDAoZrYIWYBNMKjCoFEG86Fgg8fGXTdjG6jXqmNSYDuCs1D +pgtBDmhxaTqBLzUVwVcvOIoNwGA+uNzuKwwiWMk6BwuvIaoo2QdoWcI5FwoJc5Bq ++FNI9tJNhiRZpmrL6DHlA3HlyprFN2w4FP41S55ZdzJyrI7AuFWE+F2cpH5FnC/x +Cj+JXkSDuJx5uKXhSW97oB/AM0/3Z3hXrI1bEoYLj/+6NMJ+x7St3EMDySWuHyhw +zmQXcAYntAdznIOYAP1AOJLrKepvRWtlxNtPm6tRTOcGuUD08jEkhMnP78ajUEL7 +eGIUUCzAI3HPJ4KITNJ8IceirIpcZbiEZfeRpt4BZfFXjfRj9Zi1TKBNjWdxgydQ +KS4+ErHJjpEHvqRc99Y25d/EmsWiVZfnA2h4AzaEpFz/ttUvfDM= +=2zvF +-----END PGP SIGNATURE----- diff --git a/app-vim/vimwiki/metadata.xml b/app-vim/vimwiki/metadata.xml new file mode 100644 index 0000000..338880f --- /dev/null +++ b/app-vim/vimwiki/metadata.xml @@ -0,0 +1,11 @@ + + + + + holgersson@posteo.de + Nils Freydank + + + vimviki/vimwiki + + diff --git a/app-vim/vimwiki/vimwiki-2.5.ebuild b/app-vim/vimwiki/vimwiki-2.5.ebuild new file mode 100644 index 0000000..574f5f5 --- /dev/null +++ b/app-vim/vimwiki/vimwiki-2.5.ebuild @@ -0,0 +1,51 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +inherit vim-plugin + +DESCRIPTION="vim plugin: Personal Wiki" +HOMEPAGE="https://github.com/vimwiki/vimwiki" +LICENSE="MIT" +IUSE="test" +RESTRICT="!test? ( test )" + +if [[ ${PV} == *9999 ]] +then + inherit git-r3 + EGIT_REPO_URI="https://github.com/vimwiki/vimwiki.git" +else + SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +DOCS=( + CONTRIBUTING.md + DesignNotes.md + README.md + README-cn.md +) + +src_prepare() { + default + + if ! use test; then + rm -rf test || die + rm -f Dockerfile || die + fi + # We store the appropriate license information inside the portage tree. + rm -rf LICENSE.md || die +} + +pkg_postinst() { + if [[ -z "${REPLACING_VERSIONS}" ]]; then + # ^this is a new installation, so: + elog "" + elog "Please ensure that you have set the following in your vimrc:" + elog "set nocompatible" + elog "set filetype plugin on" + elog "syntax on" + elog "For details see https://github.com/vimwiki/vimwiki#prerequisites" + fi +}