summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD13
1 files changed, 7 insertions, 6 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 406f6d8b4b1..12783c84824 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
# Contributor: Frederick Gnodtke <frederick@gnodtke.net>
pkgname=onivim2-git
-pkgver=1472.ee8597a82
+pkgver=1527.b6e238811
pkgrel=1
pkgdesc='Native, lightweight modal code editor'
arch=('any')
@@ -10,7 +10,7 @@ url='https://github.com/onivim/oni2'
license=('custom:OutrunLabsEULA')
makedepends=('git' 'esy' 'ragel' 'nodejs' 'wget' 'bzip2' 'esy' 'fontconfig' 'fuse2' 'git' 'glu' 'gtk3' 'harfbuzz'
'libglvnd' 'libice' 'libpng' 'libsm' 'libx11' 'libxcursor' 'libxext' 'libxi' 'libxinerama' 'libxrandr'
- 'libxt' 'libxxf86vm' 'm4' 'nasm' 'python2' 'clang')
+ 'libxt' 'libxxf86vm' 'm4' 'nasm' 'python2' 'clang' 'node-gyp')
provides=('onivim2')
conflicts=('onivim2')
options=('!strip')
@@ -33,8 +33,9 @@ build() {
esy bootstrap
esy build
node install-node-deps.js
- esy x Oni2 -f --checkhealth
- esy create-release
+ esy '@release' install
+ esy '@release' run -f --checkhealth
+ esy '@release' create
}
check() {
@@ -51,8 +52,8 @@ package() {
install -Dm644 ${pkgname}/Outrun-Labs-EULA-v1.1.md "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE.txt
cd ${pkgname}/_release/
- install -Dm644 Onivim2.AppDir/usr/share/applications/Onivim2.desktop "${pkgdir}"/usr/share/applications/Onivim2.desktop
- install -Dm644 Onivim2.AppDir/usr/share/icons/hicolor/512x512/apps/Onivim2.png "${pkgdir}"/usr/share/pixmaps/Onivim2.png
+ install -Dm644 Onivim2.AppDir/Onivim2.desktop "${pkgdir}"/usr/share/applications/Onivim2.desktop
+ install -Dm644 Onivim2.AppDir/Onivim2.png "${pkgdir}"/usr/share/pixmaps/Onivim2.png
cp -Lr Onivim2.AppDir/{AppRun,usr} "${pkgdir}"/opt/onivim2
cp -r $(find "${srcdir}"/esy_cache -type d -path '*i/*camomile-opam*/share/camomile') "${pkgdir}"/opt/onivim2/usr/share
ln -s /opt/onivim2/AppRun "${pkgdir}"/usr/bin/Oni2