summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorbartus2019-09-20 18:32:41 +0200
committerbartus2019-09-20 18:32:41 +0200
commitc33ccf580659119517112b9061e49cacf55d7b87 (patch)
treeb168e53ec97caf3ce1f2d995f73cd7a5a75b9143
parent1a74f2d7b67d247fbf4c08365acc573ffbd58e80 (diff)
downloadaur-c33ccf580659119517112b9061e49cacf55d7b87.tar.gz
update.PKGBUILD: add source initialization.
-rwxr-xr-xupdate.PKGBUILD6
1 files changed, 5 insertions, 1 deletions
diff --git a/update.PKGBUILD b/update.PKGBUILD
index c7eb3f03673..7595da9c92b 100755
--- a/update.PKGBUILD
+++ b/update.PKGBUILD
@@ -6,6 +6,10 @@ srcdir=$PWD/src
declare -A dep_versions
readonly -a deps=(babl)
+echo "##update sources"
+makepkg -Co
+echo "##finish updating sources"
+
## probe configure.ac for dependencies versions
# the rest have standard form of "[{dep_name}_raqured_version], [{version}]"
for dep in ${deps[*]};do
@@ -21,7 +25,7 @@ for key in ${!dep_versions[*]};do sed -i "s/@${key}@/${dep_versions[${key}]}/" P
echo "##finish generating PKGBUILD"
echo "##update pkgver"
-makepkg -Co
+makepkg -eo
echo "##finish updating pkgver"
echo "##generate .SRCINFO" >&2