mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
community/docker to 1.6.1-1
This commit is contained in:
parent
03edf6fb99
commit
f74d316ee1
3 changed files with 13 additions and 18 deletions
|
@ -2,7 +2,7 @@
|
|||
# Maintainer: Sébastien "Seblu" Luttringer
|
||||
|
||||
pkgname=docker
|
||||
pkgver=1.6.0
|
||||
pkgver=1.6.1
|
||||
pkgrel=1
|
||||
epoch=1
|
||||
pkgdesc='Pack, ship and run any application as a lightweight container'
|
||||
|
@ -16,8 +16,10 @@ 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/docker/docker.git#tag=v$pkgver")
|
||||
md5sums=('SKIP')
|
||||
source=("git+https://github.com/docker/docker.git#tag=v$pkgver"
|
||||
"$pkgname.sysusers")
|
||||
md5sums=('SKIP'
|
||||
'4324edeb9adc210a2c22f44eb4cb8a74')
|
||||
|
||||
build() {
|
||||
cd docker
|
||||
|
@ -40,15 +42,12 @@ package() {
|
|||
install -Dm644 'contrib/completion/zsh/_docker' "$pkgdir/usr/share/zsh/site-functions/_docker"
|
||||
install -Dm644 'contrib/completion/fish/docker.fish' "$pkgdir/usr/share/fish/completions/docker.fish"
|
||||
# systemd
|
||||
install -Dm644 'contrib/init/systemd/docker.service' \
|
||||
"$pkgdir/usr/lib/systemd/system/docker.service"
|
||||
install -Dm644 'contrib/init/systemd/docker.socket' \
|
||||
"$pkgdir/usr/lib/systemd/system/docker.socket"
|
||||
install -Dm644 'contrib/init/systemd/docker.service' "$pkgdir/usr/lib/systemd/system/docker.service"
|
||||
install -Dm644 'contrib/init/systemd/docker.socket' "$pkgdir/usr/lib/systemd/system/docker.socket"
|
||||
install -Dm644 "$srcdir/$pkgname.sysusers" "$pkgdir/usr/lib/sysusers.d/$pkgname.conf"
|
||||
# vim syntax
|
||||
install -Dm644 'contrib/syntax/vim/syntax/dockerfile.vim' \
|
||||
"$pkgdir/usr/share/vim/vimfiles/syntax/dockerfile.vim"
|
||||
install -Dm644 'contrib/syntax/vim/ftdetect/dockerfile.vim' \
|
||||
"$pkgdir/usr/share/vim/vimfiles/ftdetect/dockerfile.vim"
|
||||
install -Dm644 'contrib/syntax/vim/syntax/dockerfile.vim' "$pkgdir/usr/share/vim/vimfiles/syntax/dockerfile.vim"
|
||||
install -Dm644 'contrib/syntax/vim/ftdetect/dockerfile.vim' "$pkgdir/usr/share/vim/vimfiles/ftdetect/dockerfile.vim"
|
||||
}
|
||||
|
||||
# vim:set ts=2 sw=2 et:
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# arg 1: the new package version
|
||||
# Arg 1: the new package version
|
||||
post_install() {
|
||||
# create docker group (FS#38029)
|
||||
getent group docker >/dev/null || groupadd -g 142 docker
|
||||
systemd-sysusers docker.conf
|
||||
}
|
||||
|
||||
# arg 1: the new package version
|
||||
|
@ -10,9 +10,4 @@ post_upgrade() {
|
|||
(( $(vercmp $2 '1:0.7.1-1') < 0 )) && post_install "$1" || true
|
||||
}
|
||||
|
||||
# arg 1: the old package version
|
||||
post_remove() {
|
||||
groupdel docker >/dev/null 2>&1 || true
|
||||
}
|
||||
|
||||
# vim:set ts=2 sw=2 et:
|
||||
|
|
1
community/docker/docker.sysusers
Normal file
1
community/docker/docker.sysusers
Normal file
|
@ -0,0 +1 @@
|
|||
g docker 2 -
|
Loading…
Reference in a new issue