diff options
author | Ethan McTague | 2018-03-24 09:51:59 -0400 |
---|---|---|
committer | Ethan McTague | 2018-03-24 09:51:59 -0400 |
commit | de1989b00a8fb9f81217dcc8af884066260ed8d7 (patch) | |
tree | accea46b7d44300f39df388ffc9c516f9f4aee1d | |
parent | 0743290600f9b098b2edccab58e2fc18c065bfee (diff) | |
download | aur-de1989b00a8fb9f81217dcc8af884066260ed8d7.tar.gz |
Get from git instead of a tarball
-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} |