community/docker to 1.10.3-1

This commit is contained in:
Kevin Mihelich 2016-03-12 19:39:30 +00:00
parent b398230042
commit cac846e0d9

View file

@ -4,7 +4,7 @@
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
pkgname=docker
pkgver=1.10.2
pkgver=1.10.3
pkgrel=1
epoch=1
pkgdesc='Pack, ship and run any application as a lightweight container'
@ -24,8 +24,14 @@ md5sums=('SKIP'
'8cf9900ebada61f352a03465a088da34')
prepare() {
for _f in "${source[@]}"; do
[[ "$_f" =~ \.patch$ ]] && { msg2 "$_f"; patch -p1 -d docker < "$_f"; }
cd docker
# apply patch from the source array (should be a pacman feature)
local filename
for filename in "${source[@]}"; do
if [[ "$filename" =~ \.patch$ ]]; then
msg2 "Applying patch $filename"
patch -p1 -i "$srcdir/$filename"
fi
done
:
}