summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO21
-rw-r--r--PKGBUILD28
-rw-r--r--cronometer.desktop9
-rw-r--r--cronometer.pngbin0 -> 3148 bytes
-rw-r--r--cronometer.sh7
5 files changed, 65 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..539c6323aec
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,21 @@
+# Generated by mksrcinfo v8
+# Thu Dec 10 03:30:46 UTC 2015
+pkgbase = cronometer
+ pkgdesc = A fully featured nutrition and biomarker tracking tool
+ pkgver = 0.9.9
+ pkgrel = 2
+ url = http://sourceforge.net/projects/cronometer
+ arch = any
+ license = CPL
+ depends = java-environment
+ source = http://downloads.sourceforge.net/project/cronometer/cronometer/0.9.9/CRONoMeter-0.9.9-MacOSX.zip
+ source = cronometer.sh
+ source = cronometer.desktop
+ source = cronometer.png
+ sha1sums = b650a9c7602e8859e84a9b05f8f92e8d6b0b23f1
+ sha1sums = a0bd6614e7dc32a39792267d0b2a4b0f19af7038
+ sha1sums = 0386c93e407e4d3a76751de467e8ad955cf3e318
+ sha1sums = 8c18222595d299489e203c9124c62095da9c3431
+
+pkgname = cronometer
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..250c542a336
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,28 @@
+# Maintainer: Eric Ozwigh <ozwigh at gmail dot com>
+# Contributor: Baobab <eternal.baobab@gmail.com>
+# Contributor: watsonalgas <watsonalgas@gmail.com>
+
+pkgname=cronometer
+pkgver=0.9.9
+pkgrel=2
+pkgdesc="A fully featured nutrition and biomarker tracking tool"
+arch=('any')
+url="http://sourceforge.net/projects/cronometer"
+license=('CPL')
+depends=("java-environment")
+source=("http://downloads.sourceforge.net/project/cronometer/cronometer/${pkgver}/CRONoMeter-${pkgver}-MacOSX.zip"
+ "cronometer.sh"
+ "cronometer.desktop"
+ "cronometer.png")
+sha1sums=('b650a9c7602e8859e84a9b05f8f92e8d6b0b23f1'
+ 'a0bd6614e7dc32a39792267d0b2a4b0f19af7038'
+ '0386c93e407e4d3a76751de467e8ad955cf3e318'
+ '8c18222595d299489e203c9124c62095da9c3431')
+
+package() {
+ install -d $pkgdir/usr/share/java/$pkgname
+ install -m644 $srcdir/CRONoMeter.app/Contents/Resources/Java/*.jar $pkgdir/usr/share/java/$pkgname
+ install -D -m755 $srcdir/cronometer.sh $pkgdir/usr/bin/cronometer
+ install -D -m644 $srcdir/cronometer.desktop $pkgdir/usr/share/applications/cronometer.desktop
+ install -D -m644 cronometer.png $pkgdir/usr/share/pixmaps/cronometer.png
+}
diff --git a/cronometer.desktop b/cronometer.desktop
new file mode 100644
index 00000000000..365641a1e1d
--- /dev/null
+++ b/cronometer.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Type=Application
+Name=CRON-O-METER
+Comment=A fully featured nutrition and biomarker tracking tool
+Icon=cronometer
+Exec=cronometer
+Categories=Office;
+Terminal=false
+Type=Application
diff --git a/cronometer.png b/cronometer.png
new file mode 100644
index 00000000000..38af62a7e6c
--- /dev/null
+++ b/cronometer.png
Binary files differ
diff --git a/cronometer.sh b/cronometer.sh
new file mode 100644
index 00000000000..25d25cf0c28
--- /dev/null
+++ b/cronometer.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+for jar in /usr/share/java/cronometer/*.jar; do
+ CP=$CP:$jar
+done
+
+java -cp $CP ca.spaz.cron.CRONOMETER