index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Evangelos Foutras <evangelos@foutrelis.com> | 2016-02-17 09:11:38 +0200 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2016-02-23 12:50:04 +1000 |
commit | c034a3322b2a53fce51ffce144e36361892abeac (patch) | |
tree | 0d14613dbb2f685e9cf11f8b019886e466f902cd | |
parent | a724235b6127f9655708614d1e44f9b5c661a506 (diff) |
-rw-r--r-- | doc/makepkg.8.txt | 10 | ||||
-rw-r--r-- | scripts/makepkg.sh.in | 6 |
diff --git a/doc/makepkg.8.txt b/doc/makepkg.8.txt index 6f3f6b02..2dff1b19 100644 --- a/doc/makepkg.8.txt +++ b/doc/makepkg.8.txt @@ -55,11 +55,11 @@ Options installed. *-e, \--noextract*:: - Do not extract source files; use whatever source already exists in the - $srcdir/ directory. This is handy if you want to go into $srcdir/ and - manually patch or tweak code, then make a package out of the result. - Keep in mind that creating a patch may be a better solution to allow - others to use your PKGBUILD. + Do not extract source files or run the prepare() function (if present); + use whatever source already exists in the $srcdir/ directory. This is + handy if you want to go into $srcdir/ and manually patch or tweak code, + then make a package out of the result. Keep in mind that creating a + patch may be a better solution to allow others to use your PKGBUILD. *\--verifysource*:: For each source file in the source array of PKGBUILD, download the file diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in index b888b8da..8d20e25d 100644 --- a/scripts/makepkg.sh.in +++ b/scripts/makepkg.sh.in @@ -2214,6 +2214,9 @@ if (( !REPKG )); then fi extract_sources + if (( PREPAREFUNC )); then + run_prepare + fi fi if (( PKGVERFUNC )); then @@ -2221,9 +2224,6 @@ if (( !REPKG )); then basever=$(get_full_version) check_build_status fi - if (( PREPAREFUNC )); then - run_prepare - fi fi if (( NOBUILD )); then |