1 # Maintainer: hauzer <alokinpwn@gmail.com>
3 _pkgname=GoBibleCreator
6 pkgdesc="Go Bible creation software."
8 url="http://www.crosswire.org/gobible/"
10 depends=('java-runtime')
12 _pkgfile="${_pkgname}_Version_${pkgver}.zip"
13 source=("${_pkgfile}::http://dl.box.net/dl/656161759/7cfc797906b406abe08d272b376c057e?a=1281e81785029476a2cf3147ec5cab9b&m=10.12.30.52,11211&x=1&c=0c022a2484631b24e3ebc3d92d7f7b3a")
14 noextract=("${_pkgfile}")
15 md5sums=('b25b69b99aba0fc7a651cadbfc9c3d9f')
18 unzip "${srcdir}/${_pkgfile}" -d "${srcdir}/${pkgname}-${pkgver}"
22 cat > "${srcdir}/${pkgname}" <<EOF
24 "\$JAVA_HOME/bin/java" -jar '/opt/${pkgname}/${_pkgname}.jar' "\$@"
27 mkdir -p "${pkgdir}/opt/${pkgname}"
28 cp -r "${srcdir}/${pkgname}-${pkgver}/"* "${pkgdir}/opt/${pkgname}/"
29 install -D -m 755 "${srcdir}/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
30 chmod 755 "${pkgdir}/opt/${pkgname}/${_pkgname}.jar"