summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorCory Sanin2023-03-27 00:52:24 -0500
committerCory Sanin2023-03-27 00:52:24 -0500
commit00244ed7c57dedf0e184d3840d41506b0f504067 (patch)
tree1b9d40dbd43956a092afcdb6b5ba3f47ef240200
parente1b53113cdb34b3ccfa8fdd5759915786dedb2a8 (diff)
downloadaur-00244ed7c57dedf0e184d3840d41506b0f504067.tar.gz
upgpkg: moonscraper-chart-editor-bin 1.5.0-2
fix desktop file
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD7
2 files changed, 7 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 3c7adc915793..4bfeafe6002c 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = moonscraper-chart-editor-bin
pkgdesc = Moonscraper Chart Editor is a song editor for Guitar Hero style rhythm games.
pkgver = 1.5.0
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/FireFox2000000/Moonscraper-Chart-Editor
arch = x86_64
arch = i686
diff --git a/PKGBUILD b/PKGBUILD
index d30420539c23..7738e6a9881f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@ _pkgname=moonscraper-chart-editor
pkgname=${_pkgname}-bin
pkgdesc="Moonscraper Chart Editor is a song editor for Guitar Hero style rhythm games."
pkgver=1.5.0
-pkgrel=1
+pkgrel=2
provides=("$_pkgname")
conflicts=("$_pkgname")
url="https://github.com/FireFox2000000/Moonscraper-Chart-Editor"
@@ -20,6 +20,11 @@ sha1sums=('b224f1fb532016a5e10c8756c1fd85f16c51186b'
'2d61750d08d43082718a1548810f76be186a9030')
options=(!strip)
+prepare() {
+ # Fix the desktop file
+ sed -i -E "s:moonscraper-chart-editor-git:moonscraper-chart-editor:" "$_pkgname.desktop"
+}
+
package() {
find "$srcdir" -maxdepth 1 -type d -name "Moonscraper Chart Editor * Linux (Universal)" -exec mv '{}' "$srcdir/moonscraper" \;
if [ "$CARCH" = "i686" ]; then