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
|
prerm = neovim-bin.prerm
|
||||||
pkgbase = neovim-bin
|
pkgbase = neovim-bin
|
||||||
pkgdesc = Fork of Vim aiming to improve user experience, plugins, and GUIs
|
pkgdesc = Fork of Vim aiming to improve user experience, plugins, and GUIs
|
||||||
pkgrel = 1
|
pkgrel = 2
|
||||||
pkgver = 0.10.0
|
pkgver = 0.10.0
|
||||||
url = https://neovim.io
|
url = https://neovim.io
|
||||||
arch = amd64
|
arch = amd64
|
||||||
@ -19,6 +19,7 @@ depends = libunibilium4
|
|||||||
depends = libvterm0
|
depends = libvterm0
|
||||||
depends = lua-luv
|
depends = lua-luv
|
||||||
license = custom:neovim
|
license = custom:neovim
|
||||||
|
makedepends = rsync
|
||||||
makedepends = squashfs-tools
|
makedepends = squashfs-tools
|
||||||
provides = neovim
|
provides = neovim
|
||||||
provides = neovim-runtime
|
provides = neovim-runtime
|
||||||
@ -30,4 +31,5 @@ sha256sums = 6a021e9465fe3d3375e28c3e94c1c2c4f7d1a5a67e4a78cf52d18d77b1471390
|
|||||||
sha256sums = 5d3178628afc39f0318638cad19e9ad06ada89926dfb263e93ab35cc8f60e911
|
sha256sums = 5d3178628afc39f0318638cad19e9ad06ada89926dfb263e93ab35cc8f60e911
|
||||||
sha256sums = 3cb963a264b6cf45749627408b5a62c6945e5e426b595bb5e6a388194c2c1990
|
sha256sums = 3cb963a264b6cf45749627408b5a62c6945e5e426b595bb5e6a388194c2c1990
|
||||||
sha256sums = 1d3123b9d97a4889696ab72db558041b5cca8e26ff51ae557f7842242a7d4ed1
|
sha256sums = 1d3123b9d97a4889696ab72db558041b5cca8e26ff51ae557f7842242a7d4ed1
|
||||||
|
makedepends = rsync
|
||||||
makedepends = squashfs-tools
|
makedepends = squashfs-tools
|
||||||
|
22
PKGBUILD
22
PKGBUILD
@ -5,13 +5,13 @@
|
|||||||
|
|
||||||
pkgname=neovim-bin
|
pkgname=neovim-bin
|
||||||
pkgver=0.10.0
|
pkgver=0.10.0
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
pkgdesc='Fork of Vim aiming to improve user experience, plugins, and GUIs'
|
pkgdesc='Fork of Vim aiming to improve user experience, plugins, and GUIs'
|
||||||
arch=('amd64')
|
arch=('amd64')
|
||||||
url='https://neovim.io'
|
url='https://neovim.io'
|
||||||
license=('custom:neovim')
|
license=('custom:neovim')
|
||||||
provides=('neovim' 'neovim-runtime')
|
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')
|
depends=('libluajit-5.1-2' 'libluajit-5.1-common' 'libmsgpackc2' 'libtermkey1' 'libunibilium4' 'libvterm0' 'lua-luv')
|
||||||
conflicts=('neovim' 'neovim-git' 'neovim-runtime')
|
conflicts=('neovim' 'neovim-git' 'neovim-runtime')
|
||||||
extensions=('zipman')
|
extensions=('zipman')
|
||||||
@ -30,25 +30,11 @@ sha256sums=('6a021e9465fe3d3375e28c3e94c1c2c4f7d1a5a67e4a78cf52d18d77b1471390'
|
|||||||
prepare() {
|
prepare() {
|
||||||
rm -rf squashfs-root/
|
rm -rf squashfs-root/
|
||||||
chmod +x "./nvim-${pkgver}.appimage"
|
chmod +x "./nvim-${pkgver}.appimage"
|
||||||
"./nvim-${pkgver}.appimage" --appimage-extract
|
"./nvim-${pkgver}.appimage" --appimage-extract > /dev/null
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
echo "Copying application binary"
|
rsync -a "squashfs-root/usr/" "${pkgdir}/usr/"
|
||||||
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"
|
|
||||||
mkdir -p "${pkgdir}/usr/libexec/neovim"
|
mkdir -p "${pkgdir}/usr/libexec/neovim"
|
||||||
install -Dm 755 ex "${pkgdir}/usr/libexec/neovim/"
|
install -Dm 755 ex "${pkgdir}/usr/libexec/neovim/"
|
||||||
install -Dm 755 view "${pkgdir}/usr/libexec/neovim/"
|
install -Dm 755 view "${pkgdir}/usr/libexec/neovim/"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user