1 # Maintainer: Andrzej Giniewicz <gginiu@gmail.com>
2 # Based on xxe package by: Otto Sabart <seberm@gmail.com>
7 pkgdesc="XMLmind XML Editor allows to edit large, complex, modular, XML documents. This package contains latest Standard Edition"
9 url="http://www.xmlmind.com/xmleditor"
13 depends=('java-runtime=6')
14 makedepends=('imagemagick' 'unzip')
16 source=(http://www.xmlmind.com/archive/xmleditor/$pkgver/xxe-std-${pkgver//./_}.zip xxe.sh xxe.desktop)
18 md5sums=('199d5efaf723f3c295e7e81b97909765'
19 'ccd373358e00dfcf8055067bc614ec39'
20 '5665a6b917f6a79e94e09995e7ae63d1')
25 mv xxe-std-${pkgver//./_} "${pkgdir}"/opt/xxe
26 rm "${pkgdir}"/opt/xxe/bin/*.bat
27 rm "${pkgdir}"/opt/xxe/bin/*.exe
30 #sed 's/java/java6/' -i "${pkgdir}"/opt/xxe/bin/{xxe,rngvalid,csscheck,dtdvalid,xsdvalid,schvalid,deploywebstart,convertdoc,translatexxe}
33 install -D -m644 "${pkgdir}"/opt/xxe/bin/legal/xxe-std.LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
36 mkdir -p "${pkgdir}"/usr/share/{applications,pixmaps}
37 convert "${pkgdir}"/opt/xxe/bin/icon/xxe.tiff "${pkgdir}"/usr/share/pixmaps/xxe.png
38 install -m644 "${srcdir}"/xxe.desktop "${pkgdir}"/usr/share/applications/
39 install -D -m755 "${srcdir}"/xxe.sh "${pkgdir}"/etc/profile.d/xxe.sh