summarylogtreecommitdiffstats
path: root/openmpt
diff options
context:
space:
mode:
authorAndrew Lin2022-03-14 19:13:40 -0500
committerAndrew Lin2022-03-14 19:25:17 -0500
commit1e4daeb42b993891025991d567824ce27b79eb46 (patch)
tree54205f6a1a2357c00f5c03dbfcaa089ac0ff8a8d /openmpt
parent1aa853ad61d0ed4143a60eb670d72b8846fb4795 (diff)
downloadaur-1e4daeb42b993891025991d567824ce27b79eb46.tar.gz
Fix and clean up a few minor packaging issues
- Manually extract sources to separate directory to avoid polluting package with unrelated files when copying over files from $srcdir to $pkgdir - Move some static files created in PKGBUILD out to separate files (openmpt launch script, bash completion script, x-mptm.xml) - Other miscellaneous style changes This bumps pkgrel up to 2 for the above changes. Theis package should be functionally equivalent otherwise.
Diffstat (limited to 'openmpt')
-rwxr-xr-xopenmpt3
1 files changed, 3 insertions, 0 deletions
diff --git a/openmpt b/openmpt
new file mode 100755
index 000000000000..33ed46a2ab24
--- /dev/null
+++ b/openmpt
@@ -0,0 +1,3 @@
+#!/bin/bash
+[[ "$1" == "" ]] && wine /usr/share/openmpt/OpenMPT.exe
+[[ "$1" != "" ]] && wine /usr/share/openmpt/OpenMPT.exe "$(winepath -w "$1")"