Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@Lopo
Created November 24, 2015 09:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Lopo/2724a98bd9945e59cd77 to your computer and use it in GitHub Desktop.
Save Lopo/2724a98bd9945e59cd77 to your computer and use it in GitHub Desktop.
Source of gitlab-workhorse
# Maintainer: Caleb Maclennan <caleb@alerque.com>
# Maintainer: Pavol (Lopo) Hluchy <lopo AT losys DOT eu>
pkgname=gitlab-workhorse
pkgver=0.4.2
pkgrel=1
pkgdesc="An HTTP daemon that serves Git clients"
arch=('i686' 'x86_64')
url="https://gitlab.com/gitlab-org/gitlab-workhorse"
license=('MIT')
makedepends=('go')
source=("${pkgname}-${pkgver}.tgz::https://gitlab.com/gitlab-org/gitlab-workhorse/repository/archive.tar.gz?ref=${pkgver}")
sha512sums=('41ed8fb2b8e8a0a6584662a4b808e9e7f0380d8a736c340d813e61f220dffdbd141da6ff3b7465057b00df46a952110c6f3185937fd7bc7f169ccbb5bb882726')
prepare() {
ln -sf $(ls ${srcdir} | grep ${pkgname}-${pkgver}-* | grep -v .tgz) ${pkgname}-${pkgver}
}
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
make
}
package() {
install -Dm755 "${srcdir}/${pkgname}-${pkgver}/gitlab-workhorse" "${pkgdir}/usr/bin/gitlab-workhorse"
}
# vim:set ts=4 sw=4 et:
@fwang49asu
Copy link

Maybe we should add the replaces?
replaces=('gitlab-git-http-server')

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment