pkgbuilds/lxc-docker/PKGBUILD

39 lines
1.3 KiB
Bash

# $Id: 067fe921af8eb2645691fa602931a3813d24d41f $
# 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.5
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=(
'5e76c362c143a8fede5387ae0485faea82e504a71cff3a62a54f829430f98caa15efdb2efab1c6cf58cb438b26b25b9b4692f18820b3a92f47bb3750b736bc31'
'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: