Last active
February 24, 2016 06:40
-
-
Save dchusovitin/3c38bf90652c77dc3f26 to your computer and use it in GitHub Desktop.
PKGBUILD for docker-swarm
This file contains 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: Iwan Timmer <irtimmer@gmail.com> | |
pkgname=docker-swarm | |
pkgver=1.1.2 | |
pkgrel=1 | |
pkgdesc="A Docker-native clustering system" | |
depends=('glibc') | |
makedepends=('go') | |
arch=('x86_64' 'i686') | |
source=("https://github.com/docker/swarm/archive/v$pkgver.tar.gz") | |
url="https://github.com/docker/swarm/" | |
license=("Apache") | |
sha256sums=('e177feba9ecfbf548f39e59103a858a915e8e8d745a19651b57f1e5e6264eced') | |
prepare() { | |
cd $srcdir | |
mkdir -p src/github.com/docker | |
mv swarm-${pkgver} src/github.com/docker/swarm | |
} | |
build() { | |
cd $srcdir/src/github.com/docker/swarm | |
GOPATH=$srcdir godep go install . | |
} | |
package() { | |
install -Dm755 $srcdir/bin/swarm $pkgdir/usr/bin/swarm | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment