mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
21 lines
600 B
Bash
21 lines
600 B
Bash
pkgname=openttd-opengfx
|
|
_pkgname=opengfx
|
|
pkgver=0.5.4
|
|
pkgrel=1
|
|
pkgdesc='Graphics set for OpenTTD.'
|
|
arch=('any')
|
|
url='http://dev.openttdcoop.org/projects/opengfx'
|
|
license=('GPL2')
|
|
categories=('games')
|
|
source=("http://bundles.openttdcoop.org/${_pkgname}/releases/${pkgver}/${_pkgname}-${pkgver}.zip")
|
|
md5sums=('4f4a6465cd5b84964b7ceecd1c06d686')
|
|
|
|
package() {
|
|
cd "${srcdir}"
|
|
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
|
|
}
|