pkgbuilds/lxc-docker/PKGBUILD

39 lines
1.3 KiB
Bash

# $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.7
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=(
'04ad351e5df42a3d8ba1ac643bb29f7b17b7b72d32c741fd8b4bbf4081b09f873b34b40a1196333038aaba2bf72f9e4ce1a6328c51e2d13e799e34448c2a3402'
'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: