summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 99140393b5667aee2ac3785e9a24596d52593f20 (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: Lu Xu <oliver_lew at outlook dot com>
# Contributor: peeweep <peeweep at 0x0 dot ee>

pkgname=0ad-zh-lang
_pkgver=0.26.1
pkgver=a26.1
pkgrel=1
pkgdesc="Chinese Fonts and Translations For 0ad"
arch=(any)
url="https://play0ad.com/"
license=('GPL')
depends=(0ad 0ad-data)
source=(${pkgname}-${_pkgver}.zip::"http://releases.wildfiregames.com/locales/zh-lang-${_pkgver}.pyromod")
sha256sums=('95effdcf66f8ee0dd9fddc7e292fd92f9bbd7c1103899291bf88ae46e806a015')

package() {
  install -d ${pkgdir}/usr/share/0ad/data/mods/zh-lang
  cp -r l10n ${pkgdir}/usr/share/0ad/data/mods/zh-lang/l10n
  cp -r fonts ${pkgdir}/usr/share/0ad/data/mods/zh-lang/fonts
  cp mod.json ${pkgdir}/usr/share/0ad/data/mods/zh-lang/mod.json
}

# vim:set ts=2 sw=2 et: