diff --git a/community/docker/PKGBUILD b/community/docker/PKGBUILD index b3609eb61..7e5b4108f 100644 --- a/community/docker/PKGBUILD +++ b/community/docker/PKGBUILD @@ -4,7 +4,7 @@ # ALARM: Kevin Mihelich 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 : }