more comprehensive build
This commit is contained in:
parent
e84a334667
commit
7e5bc45900
4
.SRCINFO
4
.SRCINFO
@ -4,7 +4,7 @@ postinst = neovim-bin.postinst
|
||||
prerm = neovim-bin.prerm
|
||||
pkgbase = neovim-bin
|
||||
pkgdesc = Fork of Vim aiming to improve user experience, plugins, and GUIs
|
||||
pkgrel = 1
|
||||
pkgrel = 2
|
||||
pkgver = 0.10.0
|
||||
url = https://neovim.io
|
||||
arch = amd64
|
||||
@ -19,6 +19,7 @@ depends = libunibilium4
|
||||
depends = libvterm0
|
||||
depends = lua-luv
|
||||
license = custom:neovim
|
||||
makedepends = rsync
|
||||
makedepends = squashfs-tools
|
||||
provides = neovim
|
||||
provides = neovim-runtime
|
||||
@ -30,4 +31,5 @@ sha256sums = 6a021e9465fe3d3375e28c3e94c1c2c4f7d1a5a67e4a78cf52d18d77b1471390
|
||||
sha256sums = 5d3178628afc39f0318638cad19e9ad06ada89926dfb263e93ab35cc8f60e911
|
||||
sha256sums = 3cb963a264b6cf45749627408b5a62c6945e5e426b595bb5e6a388194c2c1990
|
||||
sha256sums = 1d3123b9d97a4889696ab72db558041b5cca8e26ff51ae557f7842242a7d4ed1
|
||||
makedepends = rsync
|
||||
makedepends = squashfs-tools
|
||||
|
22
PKGBUILD
22
PKGBUILD
@ -5,13 +5,13 @@
|
||||
|
||||
pkgname=neovim-bin
|
||||
pkgver=0.10.0
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc='Fork of Vim aiming to improve user experience, plugins, and GUIs'
|
||||
arch=('amd64')
|
||||
url='https://neovim.io'
|
||||
license=('custom:neovim')
|
||||
provides=('neovim' 'neovim-runtime')
|
||||
makedepends=('squashfs-tools')
|
||||
makedepends=('rsync' 'squashfs-tools')
|
||||
depends=('libluajit-5.1-2' 'libluajit-5.1-common' 'libmsgpackc2' 'libtermkey1' 'libunibilium4' 'libvterm0' 'lua-luv')
|
||||
conflicts=('neovim' 'neovim-git' 'neovim-runtime')
|
||||
extensions=('zipman')
|
||||
@ -30,25 +30,11 @@ sha256sums=('6a021e9465fe3d3375e28c3e94c1c2c4f7d1a5a67e4a78cf52d18d77b1471390'
|
||||
prepare() {
|
||||
rm -rf squashfs-root/
|
||||
chmod +x "./nvim-${pkgver}.appimage"
|
||||
"./nvim-${pkgver}.appimage" --appimage-extract
|
||||
"./nvim-${pkgver}.appimage" --appimage-extract > /dev/null
|
||||
}
|
||||
|
||||
package() {
|
||||
echo "Copying application binary"
|
||||
install -Dm 755 squashfs-root/usr/bin/nvim -t "${pkgdir}/usr/bin/"
|
||||
|
||||
echo "Copying libraries"
|
||||
install -Dm 644 squashfs-root/usr/lib/nvim/parser/c.so -t "${pkgdir}/usr/lib/nvim/parser/"
|
||||
|
||||
echo "Copying application files"
|
||||
mkdir -p "${pkgdir}/usr/share/"
|
||||
cp -r squashfs-root/usr/share/applications "${pkgdir}/usr/share/applications"
|
||||
cp -r squashfs-root/usr/share/icons "${pkgdir}/usr/share/icons"
|
||||
cp -r squashfs-root/usr/share/locale "${pkgdir}/usr/share/locale"
|
||||
cp -r squashfs-root/usr/share/man "${pkgdir}/usr/share/man"
|
||||
cp -r squashfs-root/usr/share/nvim "${pkgdir}/usr/share/nvim"
|
||||
|
||||
echo "Copying scripts for update-alternatives symbolic links"
|
||||
rsync -a "squashfs-root/usr/" "${pkgdir}/usr/"
|
||||
mkdir -p "${pkgdir}/usr/libexec/neovim"
|
||||
install -Dm 755 ex "${pkgdir}/usr/libexec/neovim/"
|
||||
install -Dm 755 view "${pkgdir}/usr/libexec/neovim/"
|
||||
|
Loading…
x
Reference in New Issue
Block a user