author | Laurent Carlier
<lordheavym@archlinux.org> 2010-09-16 23:32:37 UTC |
committer | Laurent Carlier
<lordheavym@archlinux.org> 2010-09-16 23:32:37 UTC |
parent | 5cf4ac7dac567f0b7e3cee0783dad30d90a1b2f1 |
PKGBUILD | +8 | -14 |
diff --git a/PKGBUILD b/PKGBUILD index c7c946e..522d6fe 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -2,27 +2,21 @@ # Maintainer: Daniel J Griffiths <ghost1227@archlinux.us> pkgname=openttd-opengfx -pkgver=0.2.4 +pkgver=0.3.0 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=('39c784dc6f7694b1bdaa771ff7f98658') - -build() { - cd ${srcdir}/opengfx-${pkgver} - - tar -xf opengfx-${pkgver}.tar - cd opengfx-${pkgver} - chmod 0644 * || return 1 -} +source=(http://bundles.openttdcoop.org/opengfx/releases/${pkgver}/opengfx-${pkgver}.zip) +md5sums=('06abaeba70fe833bfd6de88b6dbd6264') package() { - cd ${srcdir}/opengfx-${pkgver}/opengfx-${pkgver} + cd ${srcdir}/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 + + chmod 0644 * + cp *.grf ${pkgdir}/usr/share/openttd/data/ + cp *.obg ${pkgdir}/usr/share/openttd/data/ }