diff options
author | andy5995 | 2021-11-17 14:37:30 -0600 |
---|---|---|
committer | andy5995 | 2021-11-17 14:46:23 -0600 |
commit | 64761d7124b1fd099b73bd567c4ce6b3f6064873 (patch) | |
tree | 739977323c547c0e75662b663a82e0df86605299 /PKGBUILD | |
download | aur-0ad-delenda-est.tar.gz |
initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..9115a759fee1 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,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 +} + |