1 # Contributor: Nicky726 <nicky726 <at> gmail <dot> com>
6 pkgdesc="Java for sending e-mails to multiple recepient."
8 url="https://trac.frantovo.cz/SuperPostak/wiki"
10 depends=('java-runtime')
11 source=(https://frantovo.cz/projekty/${_origname}/${pkgname}.tar.gz
13 sha256sums=('50ba645bc0d75e5389efe9ab9726b560fe34d7520dfcebaa6cbcfb10e372e877'
14 '3fdbbd40b5c63ce3fc0a463045c9c2b0d7802d58db31e5ab3a9ff64609ddeddb')
18 install -m755 -d "${pkgdir}/usr/share/java/${pkgname}"
19 install -m755 -d "${pkgdir}/usr/share/${pkgname}"
20 install -m755 -d "${pkgdir}/usr/bin"
23 # For future releases there should be some shared libs removed before copying the ohters
24 # All jars to /usr/share/java/super-postak
26 "${pkgdir}/usr/share/java/${pkgname}"
27 install -m644 lib/*.jar \
28 "${pkgdir}/usr/share/java/${pkgname}"
29 # All other things to /usr/share/super-postak
30 install -m644 ./{index.php,*.jnlp} \
31 "${pkgdir}/usr/share/java/${pkgname}"
32 # Copy script to /usr/bin
33 install -m755 "${srcdir}/${pkgname}-bin" "${pkgdir}/usr/bin/${pkgname}"