git » openttd-opengfx.git » commit 42f978c

Move to splitpkg format

author Daniel Griffiths
2010-02-02 05:14:39 UTC
committer Daniel Griffiths
2010-02-02 05:14:39 UTC
parent 76146084ff482e37a38e672217e88978ad3ffc91

Move to splitpkg format

PKGBUILD +5 -0

diff --git a/PKGBUILD b/PKGBUILD
index 7d99326..7206272 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -15,6 +15,11 @@ build() {
 	cd ${srcdir}/opengfx-${pkgver}
 
 	chmod 0644 * || return 1
+}
+
+package() {
+	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