community/docker to 0.8-1

This commit is contained in:
Kevin Mihelich 2014-02-07 20:18:32 +00:00
parent 4ce4500805
commit 4a4eede3a6

View file

@ -4,7 +4,8 @@
# Add patch for ARM being a supported platform.
pkgname=docker
pkgver=0.7.6
_truever=0.8.0
pkgver=${_truever%.*}
pkgrel=1
epoch=1
pkgdesc='Pack, ship and run any application as a lightweight container'
@ -12,11 +13,12 @@ arch=('x86_64')
url='http://www.docker.io/'
license=('Apache')
depends=('bridge-utils' 'iproute2' 'device-mapper' 'lxc' 'sqlite' 'systemd')
makedepends=('git' 'go')
makedepends=('git' 'go' 'btrfs-progs')
optdepends=('btrfs-progs: btrfs backend support')
# don't strip binaries! A sha1 is used to check binary consistency.
options=('!strip')
install=$pkgname.install
source=("git+https://github.com/dotcloud/docker.git#tag=v$pkgver"
source=("git+https://github.com/dotcloud/docker.git#tag=v$_truever"
'docker-arm.patch')
md5sums=('SKIP'
'47cc1cdf900af66660bfa3402012ea71')
@ -44,8 +46,8 @@ check() {
package() {
cd "$_magic/docker"
install -Dm755 "bundles/$pkgver/dynbinary/docker-$pkgver" "$pkgdir/usr/bin/docker"
install -Dm755 "bundles/$pkgver/dynbinary/dockerinit-$pkgver" "$pkgdir/usr/lib/docker/dockerinit"
install -Dm755 "bundles/$_truever/dynbinary/docker-$_truever" "$pkgdir/usr/bin/docker"
install -Dm755 "bundles/$_truever/dynbinary/dockerinit-$_truever" "$pkgdir/usr/lib/docker/dockerinit"
# completion
install -Dm644 "contrib/completion/bash/docker" "$pkgdir/usr/share/bash-completion/completions/docker"
install -Dm644 "contrib/completion/zsh/_docker" "$pkgdir/usr/share/zsh/site-functions/_docker"