Created
November 24, 2015 09:33
-
-
Save Lopo/2724a98bd9945e59cd77 to your computer and use it in GitHub Desktop.
Source of gitlab-workhorse
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: Caleb Maclennan <[email protected]> | |
# 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: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Maybe we should add the replaces?
replaces=('gitlab-git-http-server')