summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a7efddfac07d18399b8ba348adc30358e3f31079 (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 at gmail dot com>

_version=2018.3.0
_build=b2
_randomstring=21e0e8a5466d
_prefix=/opt/UnityBeta

pkgname=unity-editor-beta-doc
pkgver=${_version}${_build}
pkgrel=2
pkgdesc="Unity User Manual and Scripting API Reference."
arch=('x86_64')
url='https://unity3d.com/'
license=('custom')
depends=('unity-editor-beta')
source=("https://docs.unity3d.com/2018.3/Documentation/uploads/UnityDocumentation.zip")
sha1sums=('89730f4d24a14667d7c6151e822a5644439c075d')
options=(!strip)
PKGEXT='.pkg.tar' # Prevent compressing of the final package

package() {
  _dest="${pkgdir}${_prefix}/Editor/Data"
  install -d "${_dest}"
  mv "$(find "${srcdir}" -name Documentation)" "${_dest}"
}