summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorPopolon2021-09-25 20:27:53 +0200
committerPopolon2021-09-25 20:27:53 +0200
commit49cfd531ae8b8f63d430081f5b36fe14a86976eb (patch)
tree45f9c4f33ee7f4e9155ff1aa74903b60d1d465bc
parent12aff2b9acdb819c5b8e1af0bb71ed82750c5d31 (diff)
downloadaur-49cfd531ae8b8f63d430081f5b36fe14a86976eb.tar.gz
make a test of existance before creating the link
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD7
2 files changed, 6 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e5e136d9b4d9..46269a1441f6 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = pixelorama-git
pkgdesc = A free & open-source 2D sprite editor
- pkgver = 1623.5118d30a
+ pkgver = 1633.27d42dbd
pkgrel = 2
url = https://orama-interactive.itch.io/pixelorama
arch = i686
diff --git a/PKGBUILD b/PKGBUILD
index 3dad12224e48..dc4e246cb733 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=pixelorama-git
_pkgname=pixelorama
-pkgver=1623.5118d30a
+pkgver=1633.27d42dbd
pkgrel=2
pkgdesc="A free & open-source 2D sprite editor"
arch=('i686' 'pentium4' 'x86_64' 'armv7h' 'armv8' 'riscv32' 'riscv64')
@@ -25,7 +25,10 @@ pkgver()
}
prepare() {
- ln -s pixelorama Pixelorama
+ if [ ! -e Pixelorama ]
+ then
+ ln -s pixelorama Pixelorama
+ fi
# Checks if the user's directory has the export templates
# and downloads them, if necessary