summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD28
-rw-r--r--starter.sh3
3 files changed, 48 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..fedf52e9458
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = cellware
+ pkgdesc = Cellware is design environment and simulation engine for metabolic pathways
+ pkgver = 3.0.1
+ pkgrel = 1
+ url = http://www.bii.a-star.edu.sg/achievements/applications/cellware/
+ arch = i686
+ arch = x86_64
+ license = custom
+ depends = java-runtime
+ noextract = cellware_3_0_1.tar.gz
+ source = http://www.bii.a-star.edu.sg/docs/sbg/cellware/cellware_3_0_1.tar.gz
+ source = starter.sh
+ md5sums = 9ab7ec149136ed3789ce7af939f05078
+ md5sums = c8f9fc6beb32ffd0b1ab3202202385a6
+
+pkgname = cellware
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..456c03d0133
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,28 @@
+# Maintainer: Michael Schubert <mschu.dev at gmail>
+
+pkgname=cellware
+pkgver=3.0.1
+_pkgver=${pkgver//./_}
+pkgrel=1
+pkgdesc="Cellware is design environment and simulation engine for metabolic pathways"
+arch=('i686' 'x86_64')
+url="http://www.bii.a-star.edu.sg/achievements/applications/cellware/"
+license=('custom')
+depends=('java-runtime')
+source=("http://www.bii.a-star.edu.sg/docs/sbg/cellware/cellware_$_pkgver.tar.gz" starter.sh)
+noextract=("cellware_$_pkgver.tar.gz")
+md5sums=('9ab7ec149136ed3789ce7af939f05078'
+ 'c8f9fc6beb32ffd0b1ab3202202385a6')
+
+package() {
+ mkdir -p "$pkgdir/usr/"{bin,share/java/cellware}
+
+ tar --strip-components 1 \
+ -C "$pkgdir/usr/share/java/cellware" \
+ -xzvf cellware_$_pkgver.tar.gz
+
+ cd "$pkgdir/usr/share/java/cellware"
+ rm cellware.bat
+ chmod +x cellware.sh
+ install -Dm755 "$srcdir/starter.sh" "$pkgdir/usr/bin/cellware"
+}
diff --git a/starter.sh b/starter.sh
new file mode 100644
index 00000000000..9557e81c452
--- /dev/null
+++ b/starter.sh
@@ -0,0 +1,3 @@
+#!/bin/bash
+exec /usr/share/java/cellware/cellware.sh
+