diff options
author | Johnny English | 2018-01-07 13:13:48 +0100 |
---|---|---|
committer | Johnny English | 2018-01-07 13:13:48 +0100 |
commit | 310c56257bc1241b67ecae89be3330988744dd2f (patch) | |
tree | 697a577ca8415b2b3fdbb9d06b72160490fe530e | |
parent | 606c47954b9f49db6f6b1adffa5547ddf24e58cd (diff) | |
download | aur-310c56257bc1241b67ecae89be3330988744dd2f.tar.gz |
update: .SRCINFO
-rw-r--r-- | .SRCINFO | 25 | ||||
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | PKGBUILD | 55 | ||||
-rw-r--r-- | bonita-bpm-community.install | 23 | ||||
-rw-r--r-- | bonita-studio-community.install | 22 |
5 files changed, 74 insertions, 55 deletions
@@ -1,11 +1,11 @@ # Generated by mksrcinfo v8 -# Tue Nov 29 19:28:27 UTC 2016 -pkgbase = bonita-bpm-community-bin - pkgdesc = Bonita BPM Studio with embedded Engine + Portal - pkgver = 7.3.3 +# Sun Jan 7 12:13:19 UTC 2018 +pkgbase = bonita-studio-community-bin + pkgdesc = Bonita Studio with embedded Engine + Portal + pkgver = 7.6.0 pkgrel = 1 - url = http://www.bonitasoft.com/how-we-do-it#how-we-do-it_bonita-bpm - install = bonita-bpm-community.install + url = https://www.bonitasoft.com/bonita-platform + install = bonita-studio-community.install arch = i686 arch = x86_64 license = GPL2 @@ -18,11 +18,12 @@ pkgbase = bonita-bpm-community-bin optdepends = cuda-toolkit: PROVIDES libverify.so libjli.so libfontmanager.so libjava.so libawt.so libnio.so libjvm.so libnet.so libmawt.so libJdbcOdbc.so optdepends = libnet: PROVIDES libnet.so optdepends = jre7-openjdk: PROVIDES libmawt.so - provides = bonita-bpm-community - source_i686 = http://download.forge.objectweb.org/bonita/BonitaBPMCommunity-7.3.3-x86.run - sha256sums_i686 = d6d1c8e611471f779996eb4434cc185ed94147f63442c5c3299346a120f11cdc - source_x86_64 = http://download.forge.objectweb.org/bonita/BonitaBPMCommunity-7.3.3-x86_64.run - sha256sums_x86_64 = 8ef5769410df746167828bea7fd3b95974bd5ee85df1bf3477bbc07a6d0350d7 + provides = bonita-studio-community + replaces = bonita-bpm-community-bin + source_i686 = http://download.forge.objectweb.org/bonita/BonitaStudioCommunity-7.6.0-x86.run + sha256sums_i686 = 9d1e60fd3df378e77c639bfc65b47503c5a05c046b4b533f75d86fb9972088ee + source_x86_64 = http://download.forge.objectweb.org/bonita/BonitaStudioCommunity-7.6.0-x86_64.run + sha256sums_x86_64 = 814a8bb9b8b31035be516b510768235ce0781c4d21161c0a8a01939a6ee43cef -pkgname = bonita-bpm-community-bin +pkgname = bonita-studio-community-bin diff --git a/.gitignore b/.gitignore index a587fe9027c1..28be0021cbc2 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,2 @@ -BonitaBPMCommunity-*.run -bonita-bpm-community-bin-*.pkg.tar.xz +Bonita*.run +bonita-*-bin-*.pkg.tar.xz @@ -1,30 +1,31 @@ # Maintainer: dumblob <dumblob@gmail.com> -# Contributor: dumblob <dumblob@gmail.com> -pkgver=7.3.3 +pkgver=7.6.0 pkgrel=1 -_basename=bonita-bpm-community +# FIXME a completely new package, because the product was relabeled +_basename=bonita-studio-community _basenamever="${_basename}-$pkgver" _prefix=bonitasoft pkgname="${_basename}-bin" -pkgdesc='Bonita BPM Studio with embedded Engine + Portal' -url='http://www.bonitasoft.com/how-we-do-it#how-we-do-it_bonita-bpm' +pkgdesc='Bonita Studio with embedded Engine + Portal' +url='https://www.bonitasoft.com/bonita-platform' license=('GPL2') arch=('i686' 'x86_64') # http://www.bonitasoft.com/products/download/bonita-bpm-linux-6-4-2-64bit?skip=true -source_x86_64=("http://download.forge.objectweb.org/bonita/BonitaBPMCommunity-${pkgver}-x86_64.run") +source_x86_64=("http://download.forge.objectweb.org/bonita/BonitaStudioCommunity-${pkgver}-x86_64.run") # http://www.bonitasoft.com/products/download/bonita-bpm-linux-6-4-2-32bit?skip=true -source_i686=( "http://download.forge.objectweb.org/bonita/BonitaBPMCommunity-${pkgver}-x86.run") -sha256sums_x86_64=("8ef5769410df746167828bea7fd3b95974bd5ee85df1bf3477bbc07a6d0350d7") # 7.3.3 -sha256sums_i686=( "d6d1c8e611471f779996eb4434cc185ed94147f63442c5c3299346a120f11cdc") # 7.3.3 -install=bonita-bpm-community.install +source_i686=( "http://download.forge.objectweb.org/bonita/BonitaStudioCommunity-${pkgver}-x86.run") +sha256sums_x86_64=("814a8bb9b8b31035be516b510768235ce0781c4d21161c0a8a01939a6ee43cef") # BonitaStudioCommunity-7.6.0-x86_64.run +sha256sums_i686=( "9d1e60fd3df378e77c639bfc65b47503c5a05c046b4b533f75d86fb9972088ee") # BonitaStudioCommunity-7.6.0-x86.run +install="${_basename}.install" +replaces=('bonita-bpm-community-bin') # yeah, they renamed it +# FIXME 2018-01-04 22:47:31 UTC+1 revise deps depends=('ffmpeg-compat' 'java-environment' 'libxslt' 'python' 'gtk2') makedepends=() -# FIXME may be needed: 'postgresql' 'tomcat' -# FIXME may be needed: libavformat.so.52 libgstreamer-lite.so libavcodec.so.52 +# FIXME might be needed: 'postgresql' 'tomcat' optdepends=( 'jre7-openjdk-headless: PROVIDES libverify.so libjli.so libfontmanager.so libjava.so libawt.so libnio.so libjvm.so libnet.so libmawt.so' 'cuda-toolkit: PROVIDES libverify.so libjli.so libfontmanager.so libjava.so libawt.so libnio.so libjvm.so libnet.so libmawt.so libJdbcOdbc.so' @@ -32,7 +33,7 @@ optdepends=( 'jre7-openjdk: PROVIDES libmawt.so' ) -provides=('bonita-bpm-community') +provides=("${_basename}") conflicts=() build() { @@ -48,24 +49,42 @@ build() { # } [ "$(ls -1 *.run | wc -l)" -eq 1 ] || { - printf '%sERR Multiple *.run files found.\n' + printf 'ERR Multiple *.run files found.\n' >&2 false } chmod +x *.run - ./*.run --mode unattended --prefix "$_prefix/$_basenamever" + # FIXME a hack to kill the process, because it waits for user input indefinitely + # https://github.com/bonitasoft/bonita-studio/issues/397 + [ -e '/tmp/bitrock_installer.log' ] && pid=xxx + ./*.run --mode unattended --prefix "$_prefix/$_basenamever" & + [ -n "$pid" ] && pid=$! + while sleep 1; do + grep 'Installation completed' \ + "/tmp/bitrock_installer${pid:+_$pid}.log" >/dev/null && { + kill "$pid" + break + } + + [ $((x)) -gt $((60*3)) ] && { + printf 'ERR Waited too long for the installation to finish.\n' >&2 + false + break + } + x=$((x +1)) + done # fix permissions find "$_prefix/$_basenamever/jre/" -name '*.so' -execdir chmod a+x '{}' \; chmod a+x \ - "$_prefix/$_basenamever/jre/lib/jexec" \ - "$_prefix/$_basenamever/jre/bin/"* + "$_prefix/$_basenamever/jre/lib/jexec" \ + "$_prefix/$_basenamever/jre/bin/"* # fix "...does not have the world readable bit set" rm "$_prefix/$_basenamever/uninstall"* # "disable" immediate auto-close of the whole program after launch printf '%s\n' '-Dorg.eclipse.swt.browser.DefaultType=mozilla' >> \ - "$_prefix/$_basenamever/"*.ini + "$_prefix/$_basenamever/"*.ini } package() { diff --git a/bonita-bpm-community.install b/bonita-bpm-community.install deleted file mode 100644 index c70bc474fd5c..000000000000 --- a/bonita-bpm-community.install +++ /dev/null @@ -1,23 +0,0 @@ -conf_note() { - printf '%s\n' \ - 'The previous Bonita BPM versioned configuration and diagram history in' \ - ' $XDG_CONFIG_HOME/bonitasoft/' \ - 'and' \ - ' $XDG_DATA_HOME/bonitasoft/' \ - 'will be left intact by this newly installed Bonita BPM version, which' \ - "uses it's own versioned directories instead (next to the previous ones)." -} - -post_install() { - update-desktop-database -q - conf_note -} - -post_upgrade() { - update-desktop-database -q - conf_note -} - -post_remove() { - update-desktop-database -q -} diff --git a/bonita-studio-community.install b/bonita-studio-community.install new file mode 100644 index 000000000000..8cc4bc318999 --- /dev/null +++ b/bonita-studio-community.install @@ -0,0 +1,22 @@ +conf_note() { + cat <<\END +The previous Bonita Studio Community versioned configuration and +diagram history in + $XDG_CONFIG_HOME/bonitasoft/ +and + $XDG_DATA_HOME/bonitasoft/ +will be left intact by this newly installed Bonita Studio Community version, +which uses its own versioned directories instead (next to the previous ones). +END +} + +post_install() { + conf_note +} + +post_upgrade() { + conf_note +} + +#post_remove() { +#} |