diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 49 |
1 files changed, 23 insertions, 26 deletions
@@ -1,12 +1,9 @@ # Maintainer: Oscar Morante <spacepluk@gmail.com> -_version=2018.2.19 -_build=f1 -_randomstring=06990f28ba00 _prefix=/opt/Unity pkgname=unity-editor -pkgver=${_version}${_build} +pkgver=2018.2.20f1 pkgrel=1 epoch=1 pkgdesc="The world's most popular development platform for creating 2D and 3D multiplatform games and interactive experiences." @@ -27,24 +24,24 @@ depends=('desktop-file-utils' 'npm' 'intel-tbb' 'gtk3') -optdepends=('unity-editor-doc' - 'unity-editor-android' - 'unity-editor-ios' - 'unity-editor-mac' - 'unity-editor-webgl' - 'unity-editor-windows' - 'unity-editor-facebook' - 'visual-studio-code-bin') -source=("https://download.unity3d.com/download_unity/${_randomstring}/LinuxEditorInstaller/Unity.tar.xz" - 'unity-editor' - 'unity-editor.desktop' - 'unity-editor-icon.png' - 'eula.txt') -sha1sums=('2f2d81e891e98e804e1d5649ec56adf708707afd' - 'c3727d6851a3ffd0aef9b380e2485eed9f02ef6b' - '6ba1a3051bc0d5ed08e2fa4551d0f6c679109176' - 'fddf4861974f88f0565de7f54f7418204e729894' - '1c3d4bc66fd16a10e68f78320e16cfd86afac7ac') +optdepends=("${pkgname}-doc" + "${pkgname}-android" + "${pkgname}-ios" + "${pkgname}-mac" + "${pkgname}-webgl" + "${pkgname}-windows" + "${pkgname}-facebook" + "visual-studio-code-bin") +source=("https://download.unity3d.com/download_unity/cef3e6c0c622/LinuxEditorInstaller/Unity.tar.xz" + "${pkgname}" + "${pkgname}.desktop" + "${pkgname}-icon.png" + "eula.txt") +md5sums=("e8c2b2df49a5017f953543d595ecf31b" + "c5871a48d70e13e33138176c0490ac59" + "ee60f0d4d3c3fa9e0a52da085b1f3be6" + "723f9e556821810682a6d1f4be540a74" + "24f6741eba3d591a0761f3c92e3cc1f7") options=(!strip) PKGEXT='.pkg.tar' # Prevent compressing of the final package @@ -59,11 +56,11 @@ package() { find "${pkgdir}${_prefix}/Editor/Data" -type d -exec chmod ga+rx {} \; # Add version to desktop file - sed -i "/^Version=/c\Version=${_version}${_build}" "${srcdir}/unity-editor.desktop" + sed -i "/^Version=/c\Version=${_version}${_build}" "${srcdir}/${pkgname}.desktop" - install -Dm644 -t "${pkgdir}/usr/share/applications" "${srcdir}/unity-editor.desktop" - install -Dm644 -t "${pkgdir}/usr/share/icons/hicolor/256x256/apps" "${srcdir}/unity-editor-icon.png" - install -Dm755 -t "${pkgdir}/usr/bin" "${srcdir}/unity-editor" + install -Dm644 -t "${pkgdir}/usr/share/applications" "${srcdir}/${pkgname}.desktop" + install -Dm644 -t "${pkgdir}/usr/share/icons/hicolor/256x256/apps" "${srcdir}/${pkgname}-icon.png" + install -Dm755 -t "${pkgdir}/usr/bin" "${srcdir}/${pkgname}" install -Dm644 "${srcdir}/eula.txt" "${pkgdir}/usr/share/licenses/${pkgname}/eula.txt" } |