archrelease: copy trunk to community-any
[ArchLinux/community.git] / 0ad-data / trunk / PKGBUILD
blobc99e27c39b1e4e594bf7e027e47eb8d6ffb4bf1d
1 # Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
2 # Contributor: t3ddy  <t3ddy1988 "at" gmail {dot} com>
3 # Contributor: Adrián Chaves Fernández (Gallaecio) <adriyetichaves@gmail.com>
4 pkgname=0ad-data
5 _pkgname=0ad
6 pkgver=a26
7 _pkgver=0.0.26-alpha
8 pkgrel=1
9 pkgdesc="Cross-platform, 3D and historically-based real-time strategy game (data files)"
10 arch=('any')
11 url="http://play0ad.com/"
12 license=('GPL2' 'CCPL')
13 source=("https://releases.wildfiregames.com/0ad-${_pkgver}-unix-data.tar.xz")
14 sha512sums=('8fe29fce68737d5b7001c8c2a7198766583b22556129cd2d927823da9b2c58f224fb1207f35bd03abea9380cf24d00ab6257b0dba86ce3ad1f357d7006f051d6')
16 package() {
17   cd "$_pkgname-$_pkgver"
19   install -d "${pkgdir}/usr/share/${_pkgname}/data"
20   cp -r "binaries/data" "${pkgdir}/usr/share/${_pkgname}"