1 # Maintainer: Slavi Pantaleev <s.pantaleev at gmail.com>
6 pkgdesc='Desktop timer for Pomodoro Technique users'
8 url="http://www.tomighty.org/"
10 depends=('java-runtime')
11 makedepends=('imagemagick')
14 'http://tomighty.googlecode.com/files/'$pkgname'-'$pkgver'.jar'
15 'https://github.com/ccidral/tomighty/raw/50d0094c024f1923bd0d6ff1bf77572ae5f5b5f6/img/tomato.ico')
16 md5sums=('941bdeb609169335cea3e9cf40904883'
17 '66425a9e185788f720b466ca1caf5769'
18 '73094fd45e3683dc0b560642e0543176'
19 'f92eb060209cc142b9d6ff644f751b5f')
22 # This extracts several different sizes as {tomato}-{number}.png
23 # tomato-0.png is the largest and the one we want
24 convert $srcdir/tomato.ico $srcdir/tomato.png
25 install -Dm 644 $srcdir/tomato-0.png $pkgdir/usr/share/pixmaps/$pkgname.png
27 install -Dm 644 $srcdir/$pkgname-$pkgver.jar $pkgdir/usr/share/java/$pkgname/$pkgname.jar
28 install -Dm 644 $pkgname.desktop $pkgdir/usr/share/applications/$pkgname.desktop
30 install -Dm 755 $pkgname $pkgdir/usr/bin/$pkgname