blob: 582928415104fec540753a6bdf6814ab674a695e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# Maintainer: a821 <a821 mail.de>
# Contributor: lukaszimmermann <luk.zim91@gmail.com>
# Contributor: eomarjee <eyaz.omarjee+arch@gmail.com>
# Contributor: florianbw <florian.bw@gmail.com>
pkgname=cytoscape
pkgver=3.8.2
pkgrel=1
pkgdesc="Network Data Integration, Analysis, and Visualization in a Box"
arch=('any')
url=http://www.cytoscape.org
license=('LGPL')
depends=('java-runtime=11' 'bash')
source=("https://github.com/cytoscape/cytoscape/releases/download/${pkgver}/cytoscape-unix-${pkgver}.tar.gz"
"${pkgname}.desktop"
"${pkgname}.png"
"${pkgname}")
sha256sums=('1cfd9385236dfd14bb380a930c9a2303d46c4216671cf7ae49b86e6f71c2fa7d'
'f4476545086f845e1cec5861169270da9f82a6ad4944972010827a567af0c7d0'
'135faa3f0beb8ecc1b704cf376408e8bd5f62f32ba50a84002c14321d0bb0b68'
'ac32353b765e16f9f8b82218ae9edae15082fe0dc93f91023b1cc029bb5c1a94')
prepare() {
cd ${pkgname}-unix-${pkgver}
sed -i 's#^\(vm_options_path\)=.*$#\1="\${HOME}/CytoscapeConfiguration"#' cytoscape.sh gen_vmoptions.sh
sed -i '/^KARAF_SCRIPT/a KARAF_INSTANCES="\${HOME}/CytoscapeConfiguration/instances"' framework/bin/karaf
sed -i 's#\${KARAF_HOME}/instances#\${KARAF_INSTANCES}#' framework/bin/karaf
}
package() {
install -d -m755 "${pkgdir}/opt"
cp -r cytoscape-unix-${pkgver} "${pkgdir}/opt/cytoscape"
install -Dm755 -t "${pkgdir}/usr/bin" "${pkgname}"
install -Dm644 -t "${pkgdir}/usr/share/pixmaps" "${pkgname}.png"
install -Dm644 -t "${pkgdir}/usr/share/applications" "${pkgname}.desktop"
}
# vim:set ts=2 sw=2 et:
|