summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBehnam Momeni2016-06-29 12:44:19 +0430
committerBehnam Momeni2016-06-29 12:44:19 +0430
commit96004e636cd0d4870cd161276f4b95ce89fbc663 (patch)
treef700ea1b3f5602d547a48f6e00296719d4446a73
parent8643e4faadd304b365a55d26293260c685ae04b9 (diff)
downloadaur-96004e636cd0d4870cd161276f4b95ce89fbc663.tar.gz
Supporting rebuild in an already built folder
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD3
2 files changed, 3 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 46562c46736..431fb50422c 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = sozi
pkgdesc = A zooming presentation based on SVG, using JavaScript
pkgver = 16.02
- pkgrel = 2
+ pkgrel = 3
url = http://sozi.baierouge.fr/
arch = i686
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index 813fd675eb0..10d3ace659a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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 }')"