Created
September 2, 2015 15:07
-
-
Save spacepluk/a97e835f9922653dd3a5 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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