Compare commits

...

3 commits

Author SHA1 Message Date
leafee98 c3c55ab1fc modify neovim, update-alternatives at hooks
All checks were successful
ci/woodpecker/push/build_bin Pipeline was successful
ci/woodpecker/push/build_other Pipeline was successful
2023-07-08 22:17:17 +08:00
leafee98 7b887c0f3a update neovim pkgrel from 3 to 4 2023-07-08 21:43:01 +08:00
leafee98 88cc62518c update dendrite from 0.13.0 to 0.13.1 2023-07-07 23:01:42 +08:00
2 changed files with 14 additions and 2 deletions

View file

@ -2,7 +2,7 @@
pkgname="dendrite"
pkgrel=1
pkgver="0.13.0"
pkgver="0.13.1"
pkgdesc="Dendrite is a second-generation Matrix homeserver written in Go!"
url="https://github.com/matrix-org/dendrite"
maintainer="Leafee98 <me@leafee98.com>"

View file

@ -2,7 +2,7 @@
pkgname="neovim"
pkgver="0.9.0"
pkgrel=3
pkgrel=5
pkgcommit=""
pkgdesc="A modern editor"
url="https://github.com/neovim/neovim"
@ -18,3 +18,15 @@ function package {
mv "${srcdir}/nvim-linux64/lib" "${pkgdir}/usr/lib"
mv "${srcdir}/nvim-linux64/share" "${pkgdir}/usr/share"
}
function debian_postinst {
cat << EOF
update-alternatives --install /usr/bin/editor editor /usr/bin/nvim 80
EOF
}
function debian_prerm {
cat << EOF
update-alternatives --remove editor /usr/bin/nvim
EOF
}