[arch-commits] Commit in gitlab/trunk (PKGBUILD)

Sven-Hendrik Haase svenstaro at archlinux.org
Wed Mar 8 12:31:32 UTC 2017


    Date: Wednesday, March 8, 2017 @ 12:31:31
  Author: svenstaro
Revision: 215300

upgpkg: gitlab 8.17.3-2

Fix npm build

Modified:
  gitlab/trunk/PKGBUILD

----------+
 PKGBUILD |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-03-08 12:24:27 UTC (rev 215299)
+++ PKGBUILD	2017-03-08 12:31:31 UTC (rev 215300)
@@ -8,13 +8,13 @@
 
 pkgname=gitlab
 pkgver=8.17.3
-pkgrel=1
+pkgrel=2
 pkgdesc="Project management and code hosting application"
 arch=('i686' 'x86_64')
 url="https://gitlab.com/gitlab-org/gitlab-ce/tree/master#README"
 license=('MIT')
 depends=('ruby2.3' 'git' 'ruby2.3-bundler' 'gitlab-workhorse' 'openssh' 'redis' 'libxslt' 'icu' 'nodejs')
-makedepends=('cmake' 'postgresql' 'mariadb')
+makedepends=('cmake' 'postgresql' 'mariadb' 'npm')
 optdepends=('postgresql: database backend'
             'mysql: database backend'
             'python2-docutils: reStructuredText markup language support'
@@ -121,6 +121,8 @@
   sed -i 's/url.*/nope.sock/g' config/resque.yml
 
   bundle-2.3 exec rake assets:precompile RAILS_ENV=production --trace
+  npm install
+  bundle-2.3 exec rake webpack:compile RAILS_ENV=production --trace
 
   # After building assets, clean this up again
   rm config/database.yml config/database.yml.postgresql.orig



More information about the arch-commits mailing list