index : packages | |
Archlinux32 package modifications | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2019-12-28 21:04:45 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-12-28 21:04:45 +0100 |
commit | 8ec6421f8e7107b3a596a87a75bc1cdc39586c68 (patch) | |
tree | 7d916fe08c2664ff21d343bee9cde7d0684185d9 /community | |
parent | b48825a871482f13e49cd849b50d439b1a48c584 (diff) |
-rw-r--r-- | community/pacman-contrib/PKGBUILD | 10 |
diff --git a/community/pacman-contrib/PKGBUILD b/community/pacman-contrib/PKGBUILD index 3b82e161..1bf49594 100644 --- a/community/pacman-contrib/PKGBUILD +++ b/community/pacman-contrib/PKGBUILD @@ -1,7 +1,9 @@ source+=('rankmirror.sh.diff') sha256sums+=('7a0fe662825d70decaa613a6d6104c39b3046f4ac710dc0c974316c671af35da') -prepare() { - cd "${srcdir}/${pkgname}-${pkgver}" - patch -p1 -i "${srcdir}/rankmirror.sh.diff" -} +eval "$( + declare -f prepare \ + | sed ' + $ i patch -p1 -i "${srcdir}/rankmirror.sh.diff" + ' +)" |