summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorCharlie Waters2020-05-25 11:06:26 -0400
committerCharlie Waters2020-05-25 11:06:26 -0400
commit4f14cf140d584de056f3cc0ed4d6fda1bd514728 (patch)
tree3e92b6dfda2d39b114f7b567055ea644020d0511
parent5a9046944f89f01ad830df131a10685531d91705 (diff)
downloadaur-4f14cf140d584de056f3cc0ed4d6fda1bd514728.tar.gz
Fix issue (appiamge bug?) that prevented building the package in a dirty build dir
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 4 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 1ad75c79e28..96c2ad56ca3 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = runelite-launcher-appimage
pkgdesc = Open source Old School RuneScape client. (AppImage Launcher)
pkgver = 2.1.3
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/runelite/launcher
arch = x86_64
license = BSD
diff --git a/PKGBUILD b/PKGBUILD
index 2af82504e8a..c0de99acc78 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=runelite-launcher-appimage
pkgver=2.1.3
-pkgrel=1
+pkgrel=2
pkgdesc='Open source Old School RuneScape client. (AppImage Launcher)'
arch=('x86_64')
license=('BSD')
@@ -17,6 +17,8 @@ optdepends=('gvfs: enable links')
conflicts=('runelite-launcher')
prepare() {
+ # Remove old extracted appimage to prevent extract error
+ rm -rf squashfs-root
chmod +x ${_appimage}
./${_appimage} --appimage-extract > /dev/null
}