summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAtapi2024-04-12 00:51:40 -0600
committerAtapi2024-04-12 00:51:40 -0600
commitacca1b7f022b2f09de17d58f02509b8147686b33 (patch)
tree15b0919c970be198d5fc38991c2f9fa12cb97d90
parent2ba8f704663d10129f98fdbf18cd56ec8f3be930 (diff)
downloadaur-acca1b7f022b2f09de17d58f02509b8147686b33.tar.gz
add args
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD2
-rwxr-xr-xsappy20063
3 files changed, 4 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 5dec766334de..25811e593506 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = sappy2006
pkgdesc = MusicPlayer2000 music and sound player and editor
pkgver = 1.2
- pkgrel = 2
+ pkgrel = 3
arch = x86_64
arch = i686
makedepends = p7zip
diff --git a/PKGBUILD b/PKGBUILD
index b03a113701b7..8c6ee21ac4bd 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=sappy2006
_pkgname='sappy2006'
pkgver=1.2
-pkgrel=2
+pkgrel=3
pkgdesc='MusicPlayer2000 music and sound player and editor'
arch=(x86_64 i686)
depends=('wine' 'winetricks')
diff --git a/sappy2006 b/sappy2006
index 20cd912c8cf2..a0206621fbd5 100755
--- a/sappy2006
+++ b/sappy2006
@@ -20,6 +20,7 @@ configure() {
if [ "$1" = "--mkpfx" ]; then # Force reconfigure prefix
configure
+ exit 0
elif [ "$1" = "--erase" ]; then # delete all data in prefix
rm -rf $WINEPREFIX
exit 0
@@ -43,4 +44,4 @@ else
echo ""
fi
-wine $SAPPYDIR/sappy.exe
+wine $SAPPYDIR/sappy.exe "$(winepath -w "$1")"