diff options
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 11 |
2 files changed, 6 insertions, 7 deletions
@@ -10,14 +10,12 @@ pkgbase = oni-git depends = nodejs depends = gconf depends = libxss - source = https://github.com/onivim/oni/archive/master.tar.gz source = oni.sh source = oni.desktop source = icons.tar.gz md5sums = SKIP md5sums = SKIP md5sums = SKIP - md5sums = SKIP pkgname = oni-git @@ -12,18 +12,19 @@ url="https://github.com/onivim/oni" license=('MIT') depends=('neovim' 'nodejs' 'gconf' 'libxss') makedepends=('tar') -source=("https://github.com/onivim/oni/archive/master.tar.gz" - "oni.sh" +source=("oni.sh" "oni.desktop" "icons.tar.gz") md5sums=('SKIP' 'SKIP' - 'SKIP' 'SKIP') package() { - cd ${srcdir}/oni-master - npm install -g yarn + cd ${srcdir} + git clone https://github.com/onivim/oni.git oni-master + cd oni-master + git submodule update --init --recursive + npm install npm run build install -d ${pkgdir}/opt/${pkgname} cp -R ${srcdir}/oni-master/* ${pkgdir}/opt/${pkgname} |