Skip to content

Instantly share code, notes, and snippets.

@spacepluk
Created September 2, 2015 15:07
Show Gist options
  • Save spacepluk/a97e835f9922653dd3a5 to your computer and use it in GitHub Desktop.
Save spacepluk/a97e835f9922653dd3a5 to your computer and use it in GitHub Desktop.
diff --git a/PKGBUILD b/PKGBUILD
index 720c195..3869754 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -58,8 +58,8 @@ build() {
package() {
local extraction_dir="${srcdir}/unity-editor-${_version}${_build}"
- mkdir -p "${pkgdir}/opt/Unity"
- cp -a "${extraction_dir}/." "${pkgdir}/opt/Unity"
+ mkdir -p "${pkgdir}/opt"
+ mv "${extraction_dir}" "${pkgdir}/opt/Unity"
# Remove bundled libresolv.so.2 for the time being (workarounds network problems)
rm "${pkgdir}/opt/Unity/Editor/Data/Tools/libresolv.so.2"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment