updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / cronometer / PKGBUILD
blob77c317ee3d23ccfb80a2a8714cb3f2bdfdcc38a6
1 # Contributor: watsonalgas <watsonalgas@gmail.com>
2 pkgname=cronometer
3 pkgver=0.9.8
4 pkgrel=1
5 pkgdesc="fully featured nutrition and biomarker tracking tool"
6 arch=('i686' 'x86_64')
7 url="http://spaz.ca/cronometer/"
8 license=('CPL')
9 depends=("java-runtime")
10 source=("http://downloads.sourceforge.net/project/cronometer/cronometer/${pkgver}/CRONoMeter-${pkgver}-MacOSX.zip"
11         "cronometer.sh")
13 build() {
14         install -d $pkgdir/usr/lib/$pkgname
15     # it's actually the Mac OS X version, so we un-mac-ify it
16     cp -r $srcdir/CRONoMeter.app/Contents/Resources/Java/* $pkgdir/usr/lib/$pkgname/ || return 1
17     
18     install -D -m755 $srcdir/cronometer.sh $pkgdir/usr/bin/cronometer || return 1
21 md5sums=('eb80f56b62049a16241f2f164e05ef3b'
22          'e737eaf5ba5644564394abfccaacdd21')