community/docker to 1.11.0-1

This commit is contained in:
Kevin Mihelich 2016-05-01 01:56:47 +00:00
parent 77c086654a
commit 9241dbf1ed

View file

@ -4,14 +4,14 @@
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
pkgname=docker
pkgver=1.10.3
pkgver=1.11.0
pkgrel=1
epoch=1
pkgdesc='Pack, ship and run any application as a lightweight container'
arch=('x86_64')
url='https://www.docker.com/'
license=('Apache')
depends=('bridge-utils' 'iproute2' 'device-mapper' 'sqlite' 'systemd')
depends=('runc' 'containerd' 'bridge-utils' 'iproute2' 'device-mapper' 'sqlite' 'systemd')
makedepends=('git' 'go' 'btrfs-progs' 'go-md2man')
optdepends=('btrfs-progs: btrfs backend support'
'lxc: lxc backend support')
@ -30,7 +30,7 @@ prepare() {
for filename in "${source[@]}"; do
if [[ "$filename" =~ \.patch$ ]]; then
msg2 "Applying patch $filename"
patch -p1 -i "$srcdir/$filename"
patch -p1 -N -i "$srcdir/$filename"
fi
done
:
@ -41,7 +41,7 @@ build() {
export AUTO_GOPATH=1
hack/make.sh dynbinary
# man pages
man/md2man-all.sh
man/md2man-all.sh 2>/dev/null
}
#check() {
@ -52,7 +52,11 @@ build() {
package() {
cd docker
install -Dm755 "bundles/$pkgver/dynbinary/docker-$pkgver" "$pkgdir/usr/bin/docker"
install -Dm755 "bundles/$pkgver/dynbinary/dockerinit-$pkgver" "$pkgdir/usr/lib/docker/dockerinit"
# symlink containerd/run (nice integration...)
ln -s containerd "$pkgdir/usr/bin/docker-containerd"
ln -s containerd-shim "$pkgdir/usr/bin/docker-containerd-shim"
ln -s ctr "$pkgdir/usr/bin/docker-containerd-ctr"
ln -s runc "$pkgdir/usr/bin/docker-runc"
# 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"