author | Daniel Griffiths
<ghost1227@archlinux.us> 2010-04-30 19:41:49 UTC |
committer | Daniel Griffiths
<ghost1227@archlinux.us> 2010-04-30 19:41:49 UTC |
parent | 68a1de139b17cb0c293eb58bb76daef2630c8617 |
PKGBUILD | +7 | -5 |
diff --git a/PKGBUILD b/PKGBUILD index caa7940..c7c946e 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -2,25 +2,27 @@ # Maintainer: Daniel J Griffiths <ghost1227@archlinux.us> pkgname=openttd-opengfx -pkgver=0.2.3 +pkgver=0.2.4 pkgrel=1 pkgdesc="Free graphics set for openttd" arch=('any') url="http://www.openttd.org" license=('GPL') source=(http://bundles.openttdcoop.org/opengfx/releases/opengfx-${pkgver}.zip) -md5sums=('7003b5d2c1a3a0a32568491a9127257b') +md5sums=('39c784dc6f7694b1bdaa771ff7f98658') build() { cd ${srcdir}/opengfx-${pkgver} + tar -xf opengfx-${pkgver}.tar + cd opengfx-${pkgver} chmod 0644 * || return 1 } package() { - cd ${srcdir}/opengfx-${pkgver} + cd ${srcdir}/opengfx-${pkgver}/opengfx-${pkgver} mkdir -pm0755 ${pkgdir}/usr/share/openttd/data - cp *grf ${pkgdir}/usr/share/openttd/data/ || return 1 - cp *obg ${pkgdir}/usr/share/openttd/data/ || return 1 + cp *.grf ${pkgdir}/usr/share/openttd/data/ || return 1 + cp *.obg ${pkgdir}/usr/share/openttd/data/ || return 1 }