summaryrefslogtreecommitdiffstats
path: root/lxc-docker/PKGBUILD
blob: 786d8bef2e5442790e52161412ee9995fa3322ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# $Id: 9f48704be8a6f05cd1176662309f389237b82e7e $
# Maintainer: Ido Rosen <ido@kernel.org>
# Contributor: frio <development@frio.name>
#
# NOTE: To request changes to this package, please submit a pull request
#       to the GitHub repository at https://github.com/ido/packages-archlinux
#       Otherwise, open a GitHub issue.  Thank you! -Ido
#

pkgname=lxc-docker
pkgver=0.6.6
pkgrel=1
pkgdesc="Docker - the Linux container runtime"
arch=('x86_64')
url="https://github.com/dotcloud/docker"
license=('Apache License 2.0')
depends=('bridge-utils' 'iproute2' 'aufs3-util' 'lxc' 'linux-custom')
provides=('lxc-docker')
source=(
    "https://get.docker.io/builds/Linux/x86_64/docker-$pkgver"
    'docker.service'
)
conflicts=('lxc-docker-git')
replaces=('dotcloud-docker')
sha512sums=(
    '588dea1be55a9b4c69527c96a8e65acdd7f8c6021fe4e53c60b1d7acccfe5813e1c6f8a29d70fd70c1f5b0df3d20f88503dca61b3f92557c6c3c178c1ccd2c9b'
    'f6e1f6cc2ed66cd3eb674383326d52dc1fad0599677103b1539ae7002d06e6458c2bc5dc9a04b2024058b5b2aa3cf9211a200acebbd93ab1016d48ed849d2499'
)
install=lxc-docker.install

package() {
  # install systemd service unit
  install -D -m 644 "$srcdir/docker.service" "$pkgdir/usr/lib/systemd/system/docker.service"

  # install docker binary
  install -D -m 755 "$srcdir/docker-$pkgver" "$pkgdir/usr/bin/docker"
}

# vim:set ts=2 sw=2 et: