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

_prefix=/opt/Unity

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

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