PKGBUILD 601 Bytes
Newer Older
1 2
pkgname=openttd-opengfx
_pkgname=opengfx
3
pkgver=0.5.5
4 5 6
pkgrel=1
pkgdesc='Graphics set for OpenTTD.'
arch=('any')
7
url='https://dev.openttdcoop.org/projects/opengfx'
8
license=('GPL2')
Giuseppe's avatar
Giuseppe committed
9
categories=('games')
Jeff Huang's avatar
Jeff Huang committed
10
source=("http://bundles.openttdcoop.org/${_pkgname}/releases/${pkgver}/${_pkgname}-${pkgver}.zip")
11
md5sums=('cf41c942797a874e3fb411ddaa123fe3')
12 13

package() {
Jeff Huang's avatar
Jeff Huang committed
14
  cd "${srcdir}"
Jeff Huang's avatar
Jeff Huang committed
15 16 17 18 19
  tar xvf "${_pkgname}-${pkgver}.tar"
  cd ${_pkgname}-${pkgver}
  install -d ${pkgdir}/usr/share/openttd/data   
  install -m644 *.grf ${pkgdir}/usr/share/openttd/data
  install -m644 *.obg ${pkgdir}/usr/share/openttd/data
20
}