psi-themes-0.9.3_p1-r2.ebuild 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. # Copyright 1999-2011 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI="2"
  4. SMILEYS="critters-1.0.jisp
  5. icq-2002a.jisp
  6. ikonboard-3.1.jisp
  7. KMess-Cartoon-1.0.jisp
  8. kreativ_squareheads.jisp
  9. megapack-1.0.jisp
  10. Ninja.jisp
  11. patricks_faces-1.0.jisp
  12. shinyicons.jisp
  13. gadu-gadu.jisp
  14. emot-daw.jisp
  15. emot-gg.jisp
  16. emot-ro.jisp"
  17. ICONSETS="amirose.7z
  18. crystal_roster.jisp
  19. crystal_aimbulb.jisp
  20. crystal_aim.jisp
  21. crystal_gadu.jisp
  22. crystal_icqbulb.jisp
  23. crystal_icq.jisp
  24. crystal_msnbulb.jisp
  25. crystal_msn.jisp
  26. crystal_sms.jisp
  27. crystal_tlen.jisp
  28. crystal_transport.jisp
  29. crystal_weatherbulb.jisp
  30. crystal_yahoobulb.jisp
  31. crystal_yahoo.jisp
  32. amirosebulb.jisp
  33. amirose_gg.jisp
  34. amiroseglobe.jisp
  35. amirose_tlen.jisp
  36. chromepl.jisp
  37. crystalgg.jisp
  38. dictionary_es.jisp
  39. email.jisp
  40. gadugadu.jisp
  41. gggangsta.jisp
  42. ggskazi.jisp
  43. ggstarfish.jisp
  44. hamtaro.jisp
  45. headlines.jisp
  46. hexicubes.jisp
  47. icqgangsta.jisp
  48. individual.jisp
  49. kb_shiny_weather.jisp
  50. kmess-crystal.jisp
  51. msn6.jisp
  52. nuvola-dicts.jisp
  53. nuvola.jisp
  54. psidudes.jisp
  55. psi_tag.jisp
  56. psi-daisy.7z
  57. shadowrss.jisp
  58. shadowwpk.jisp
  59. sms2.jisp
  60. speechbubbles.jisp
  61. squareheads.jisp
  62. stellar.jisp
  63. stellartransport.jisp
  64. tlen.jisp
  65. tlenrael.jisp
  66. weatheraqua.jisp
  67. weather.jisp
  68. wpkontakt2.jisp
  69. wpkontakt3.jisp
  70. ztm.jisp"
  71. SYSTEMSETS="crystal_system.jisp
  72. system-psi.jisp
  73. nuvola-system.jisp"
  74. VMAIN="1.0"
  75. VCRYS="0.5"
  76. VNETF="1.0"
  77. HTTPIURI="http://vivid.dat.pl/psi"
  78. SRC_URI="${HTTPIURI}/emots-main-${VMAIN}.tar.bz2
  79. ${HTTPIURI}/gadu-gadu-1.0.tar.bz2
  80. ${HTTPIURI}/emots-crystal-${VCRYS}.tar.bz2
  81. ${HTTPIURI}/emots-netflint-${VNETF}.tar.bz2"
  82. DESCRIPTION="Iconsets for Psi, a Qt4 Jabber Client"
  83. HOMEPAGE="http://psi-im.org/ http://jisp.netflint.net/"
  84. SLOT="0"
  85. LICENSE="GPL-2"
  86. KEYWORDS="~amd64 ppc x86 ~x86-fbsd"
  87. IUSE=""
  88. DEPEND=">=net-im/psi-0.9.2
  89. !!net-im/psi[extras]"
  90. S=${WORKDIR}
  91. src_unpack() {
  92. unpack ${A}
  93. cd "${S}"
  94. mkdir roster
  95. for FILE in ${ICONSETS}; do
  96. if [ -e emots/${FILE} ]; then
  97. mv emots/${FILE} roster
  98. fi
  99. done;
  100. mkdir emoticons
  101. for FILE in ${SMILEYS}; do
  102. if [ -e emots/${FILE} ]; then
  103. mv emots/${FILE} emoticons
  104. fi
  105. done;
  106. mkdir system
  107. for FILE in ${SYSTEMSETS}; do
  108. if [ -e emots/${FILE} ]; then
  109. mv emots/${FILE} system
  110. fi
  111. done;
  112. }
  113. src_install() {
  114. dodir /usr/share/psi/iconsets
  115. mv {emoticons,system,roster} "${D}/usr/share/psi/iconsets/"
  116. }