summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9115a759fee10806d6706caca0791f6a638fd045 (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
# Maintainer: Andy Alt <andy400-dev at yahoo dot com>

_modname="0ad_Delenda_Est_A25"
pkgname="0ad-delenda-est"
pkgver=0.25.0
pkgrel=1
pkgdesc="A complete overhaul mod for 0 A.D. Empires Ascendant. New factions. New technology trees. New units. New graphics. New features. New balance. New experience."
arch=('any')
url="https://github.com/JustusAvramenko/delenda_est"
license=('unknown')
makedepends=('unzip')
#depends=('0ad')
source=("https://binary.lge.modcdn.io/mods/698d/111/0ad_delenda_est_a25.zip")
noextract=("${source[@]##*/}")
sha256sums=('1fe55b05dae4d2910060019398c5e3a0738c87b7e4ba63fa449e7376ae03302d')

package() {
  cd "${srcdir}"
  mv "${source[@]##*/}" "${_modname}.zip"
  install -Dm644 "${_modname}.zip" -t "${pkgdir}/usr/share/0ad/data/mods/${_modname}"
  cd "${pkgdir}/usr/share/0ad/data/mods/${_modname}"
  unzip "${_modname}.zip" mod.json
}