[arch-commits] Commit in gitlab-shell/trunk (PKGBUILD)
Sven-Hendrik Haase
svenstaro at archlinux.org
Thu Jun 29 16:21:55 UTC 2017
Date: Thursday, June 29, 2017 @ 16:21:54
Author: svenstaro
Revision: 241603
upgpkg: gitlab-shell 1:5.1.0-1
Modified:
gitlab-shell/trunk/PKGBUILD
----------+
PKGBUILD | 19 +++++++++++++------
1 file changed, 13 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-06-29 15:57:11 UTC (rev 241602)
+++ PKGBUILD 2017-06-29 16:21:54 UTC (rev 241603)
@@ -7,7 +7,7 @@
# Contributor: Stefan Tatschner <stefan at sevenbyte.org>
pkgname=gitlab-shell
-pkgver=5.0.6
+pkgver=5.1.0
pkgrel=1
epoch=1
pkgdesc="Git management software"
@@ -15,6 +15,7 @@
url="https://gitlab.com/gitlab-org/gitlab-shell/"
license=('MIT')
depends=('ruby2.3' 'redis' 'git')
+makedepends=('go')
options=('!strip')
install=gitlab-shell.install
backup=("etc/webapps/${pkgname}/config.yml"
@@ -24,7 +25,7 @@
"etc/webapps/${pkgname}/")
source=("${pkgname}-${pkgver}.tar.gz::https://gitlab.com/gitlab-org/gitlab-shell/repository/archive.tar.gz?ref=v${pkgver}"
"gitlab-shell.gitconfig")
-md5sums=('691d43206a641e0da2d7bbb1d373c39b'
+md5sums=('75fccefd8ddc4dbc30b68cf0ca5f1c2f'
'6b917256b13a1685e9a3cc73e68152d0')
_datadir="/usr/share/webapps/${pkgname}"
@@ -43,8 +44,18 @@
-e "s|# port:|port:|" \
-e "s|socket:|# socket:|" \
config.yml.example > config.yml
+
+ for file in {bin,hooks}/*; do
+ sed -i s/ruby/ruby-2.3/g ${file}
+ done
}
+build() {
+ cd "${srcdir}/${_srcdir}"-*
+
+ ./bin/compile
+}
+
package() {
cd "${srcdir}/${_srcdir}"-*
@@ -76,10 +87,6 @@
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
install -Dm644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md"
-
- for file in ${pkgdir}/usr/share/webapps/gitlab-shell/{bin,hooks}/*; do
- sed -i s/ruby/ruby-2.3/g ${file}
- done
}
# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list