index : packages | |
Archlinux32 package modifications | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | core/pacman/PKGBUILD | 15 |
diff --git a/core/pacman/PKGBUILD b/core/pacman/PKGBUILD index a6d00a35..7de432f7 100644 --- a/core/pacman/PKGBUILD +++ b/core/pacman/PKGBUILD @@ -25,10 +25,17 @@ fi source+=('replace-i686-by-pentium4-when-architecture-is-auto.patch') sha256sums+=('e8d5f8979c4dfab49e7ac058846f2454b865c1da451e086c23e61034fd820c19') -prepare() { - cd "$pkgname-$pkgver" - patch -p1 -i ../replace-i686-by-pentium4-when-architecture-is-auto.patch -} + +eval "$( + { + declare -f prepare || \ + printf 'prepare() {\n}\n' + } \ + | sed ' + $i cd "$srcdir/$pkgname-$pkgver" \ + patch -p1 -i ../replace-i686-by-pentium4-when-architecture-is-auto.patch + ' +)" # FAIL: test 600 (also 64-bit), ignore for now eval "$( |