archrelease: copy trunk to community-any
[ArchLinux/community.git] / openttd-opengfx / trunk / PKGBUILD
blob44463591f5e7087f6c30a74a98b592f7caf06b66
1 # Maintainer:
2 # Contributor: Vesa Kaihlavirta <vegai@iki.fi>
3 # Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
5 pkgname=openttd-opengfx
6 pkgver=7.1
7 pkgrel=1
8 pkgdesc='A free graphics set for openttd'
9 arch=('any')
10 url='https://dev.openttdcoop.org/projects/opengfx'
11 license=('GPL')
12 source=("https://cdn.openttd.org/opengfx-releases/${pkgver}/opengfx-${pkgver}-all.zip")
13 sha256sums=('928fcf34efd0719a3560cbab6821d71ce686b6315e8825360fba87a7a94d7846')
15 package() {
16     cd "${srcdir}"
17     tar xvf "opengfx-${pkgver}.tar"
18     cd opengfx-${pkgver}
19     install -d "${pkgdir}"/usr/share/openttd/data   
20     install -m644 *.grf "${pkgdir}"/usr/share/openttd/data
21     install -m644 *.obg "${pkgdir}"/usr/share/openttd/data