diff options
author | Behnam Momeni | 2016-06-29 12:44:19 +0430 |
---|---|---|
committer | Behnam Momeni | 2016-06-29 12:44:19 +0430 |
commit | 96004e636cd0d4870cd161276f4b95ce89fbc663 (patch) | |
tree | f700ea1b3f5602d547a48f6e00296719d4446a73 /PKGBUILD | |
parent | 8643e4faadd304b365a55d26293260c685ae04b9 (diff) | |
download | aur-96004e636cd0d4870cd161276f4b95ce89fbc663.tar.gz |
Supporting rebuild in an already built folder
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -8,7 +8,7 @@ pkgver=16.02 # the build version is obtained from [here](https://github.com/senshu/Sozi/releases) _buildver=16.02.141048 _pkgverpostfix="-fix344" # this is required because the pkgver cannot contain hyphen -pkgrel=2 +pkgrel=3 pkgdesc="A zooming presentation based on SVG, using JavaScript" url="http://sozi.baierouge.fr/" @@ -135,6 +135,7 @@ build() { done cd "${srcdir}/Sozi-${pkgver}${_pkgverpostfix}/" + rm -rf "build" rm -rf "node_modules"; mkdir "node_modules" cat package.json | jq -r '.dependencies, .devDependencies | to_entries? | map(.key + "@" + .value) | .[]' | sort -u | while read dep; do local package="$(echo "$dep" | gawk -F'@' '{ print $1 }')" |