#!/bin/sh

. config/options $1

mkdir -p $ADDON_BUILD/mkimage
  cp -R $PKG_BUILD/data $ADDON_BUILD/mkimage
  cp -R $PKG_BUILD/fonts $ADDON_BUILD/mkimage
  cp -R $PKG_BUILD/images $ADDON_BUILD/mkimage
  cp -R $PKG_BUILD/sounds $ADDON_BUILD/mkimage
  cp -R $PKG_BUILD/translations $ADDON_BUILD/mkimage
  cp $PKG_BUILD/l10n-track $ADDON_BUILD/mkimage

mkdir -p $ADDON_BUILD/mkimage/bin
  cp $PKG_BUILD/build/wesnoth $ADDON_BUILD/mkimage/bin
