git » openttd-opengfx.git » commit cdab908

updated to 0.3.3 and replaced cp with install

author Jelle van der Waa
2011-04-19 11:12:17 UTC
committer Jelle van der Waa
2011-04-19 11:12:17 UTC
parent f452e3709c943d1427f7f70392e839de1d7e8310

updated to 0.3.3 and replaced cp with install

PKGBUILD +5 -6

diff --git a/PKGBUILD b/PKGBUILD
index 46724bd..e0e347e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,21 +2,20 @@
 # Maintainer: Daniel J Griffiths <ghost1227@archlinux.us>
 
 pkgname=openttd-opengfx
-pkgver=0.3.2
+pkgver=0.3.3
 pkgrel=1
 pkgdesc='Free graphics set for openttd'
 arch=('any')
 url='http://www.openttd.org'
 license=('GPL')
 source=("http://bundles.openttdcoop.org/opengfx/releases/${pkgver}/opengfx-${pkgver}.zip")
-md5sums=('70a09cf9df7938a3c3f184d18fc4f0f1')
+md5sums=('8028a397889803dbe59029e7098c9895')
 
 package() {
 	cd opengfx-${pkgver}
 
-	mkdir -pm0755 ${pkgdir}/usr/share/openttd/data   
+	install -d -m 755 ${pkgdir}/usr/share/openttd/data   
 
-	chmod 0644 *
-	cp *.grf ${pkgdir}/usr/share/openttd/data/
-	cp *.obg ${pkgdir}/usr/share/openttd/data/
+        install -m 644 *.grf $pkgdir/usr/share/openttd/data
+        install -m 644 *.obg $pkgdir/usr/share/openttd/data
 }