summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: bf44899fd2d618d1f9d258f33bc561f6b8042ec6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Maintainer: Oscar Morante <spacepluk@gmail.com>

_version=2018.3.0
_build=f1
_randomstring=f023c421e164
_prefix=/opt/UnityBeta

pkgname=unity-editor-beta-language-zh-cn
pkgver=${_version}${_build}
pkgrel=1
pkgdesc="Chinese Language Pack (Preview)"
arch=('x86_64')
url='https://unity3d.com/'
license=('custom')
depends=('unity-editor-beta')
source=("https://new-translate.unity3d.jp/v1/live/54/2018.3/zh-cn")
sha1sums=('01091f29c74b1dbfe35bccb5ad708d37c0ed3d56')
options=(!strip)
PKGEXT='.pkg.tar' # Prevent compressing of the final package

package() {
  _dest="${pkgdir}${_prefix}/Editor/Data/Localization"
  install -d "${_dest}"
  mv zh-cn "${_dest}/zh-cn.po"
}