Advertisement
Guest User

package skin.aeon.nox.5

a guest
Feb 2nd, 2016
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.28 KB | None | 0 0
  1. ################################################################################
  2. # This file is part of OpenELEC - http://www.openelec.tv
  3. # Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
  4. #
  5. # OpenELEC is free software: you can redistribute it and/or modify
  6. # it under the terms of the GNU General Public License as published by
  7. # the Free Software Foundation, either version 2 of the License, or
  8. # (at your option) any later version.
  9. #
  10. # OpenELEC is distributed in the hope that it will be useful,
  11. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. # GNU General Public License for more details.
  14. #
  15. # You should have received a copy of the GNU General Public License
  16. # along with OpenELEC. If not, see <http://www.gnu.org/licenses/>.
  17. ################################################################################
  18.  
  19. PKG_NAME="skin.aeon.nox.5"
  20. PKG_VERSION="5.1.5"
  21. PKG_REV="1"
  22. PKG_ARCH="any"
  23. PKG_LICENSE="GPL"
  24. PKG_SITE="http://www.kodi.tv"
  25. PKG_URL="http://mirrors.xbmc.org/addons/gotham/$PKG_NAME/$PKG_NAME-$PKG_VERSION.zip"
  26. PKG_DEPENDS_TARGET="script.grab.fanart script.skinshortcuts script.module.simplejson"
  27. PKG_DEPENDS_TARGET="$PKG_DEPENDS_TARGET script.module.unidecode service.library.data.provider"
  28. PKG_PRIORITY="optional"
  29. PKG_SECTION="mediacenter"
  30. PKG_SHORTDESC="skin aeon nox"
  31. PKG_LONGDESC="skin aeon nox"
  32. PKG_IS_ADDON="no"
  33. PKG_AUTORECONF="no"
  34.  
  35. unpack() {
  36. : # dummy
  37. mkdir -p $ROOT/$BUILD/$PKG_NAME-$PKG_VERSION
  38. # don't unpack
  39. touch $ROOT/$BUILD/$PKG_NAME-$PKG_VERSION/.openelec-unpack
  40. }
  41.  
  42. make_target() {
  43. : # nothing to make
  44. mkdir -p $ROOT/$BUILD/$PKG_NAME-$PKG_VERSION/.install_pkg/usr/share/kodi/addons
  45. }
  46.  
  47. makeinstall_target() {
  48. mkdir -p $INSTALL/usr/share/kodi/addons
  49.  
  50. ZIP_PKG_NAME="$(echo $PKG_URL | sed 's|.*/\(.*\)$|\1|' | sed 's|%20| |g')"
  51. ZIP_ARCHIVE=$(readlink -f $ROOT/$SOURCES/$PKG_NAME/$ZIP_PKG_NAME)
  52. unzip -o -q $ZIP_ARCHIVE -d $INSTALL/usr/share/kodi/addons
  53.  
  54. cp $PKG_DIR/backgrounds/* $INSTALL/usr/share/kodi/addons/skin.aeon.nox.5/backgrounds/
  55.  
  56. ln -s /storage/.kodi/userdata/addon_data/skin.aeon.nox.5-script-skinshortcuts-includes.xml \
  57. $INSTALL/usr/share/kodi/addons/skin.aeon.nox.5/1080i/script-skinshortcuts-includes.xml
  58. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement