1 # Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
2 # Contributor: Archie <xMickael@ifrance.com>
6 pkgdesc="a diet software that can help you choose, customize and follow a diet"
7 depends=('java-runtime')
10 source=("http://downloads.sourceforge.net/project/${pkgname}/${pkgname}/iDiet ${pkgver}/iDiet-${pkgver}.tar.bz2" \
14 url="http://idiet.sourceforge.net"
15 md5sums=('6559e81a7c4548c6cf7be33ace1d6f20'
16 '6b42ce8ce7e6ff3339c64fb8bce11499'
17 '2a33946c31c00bb08ed2bea19aa1cd20'
18 '00b9fbce182565f06304fbb03b0677de')
21 install -d ${pkgdir}/usr/share/java/idiet/{docs,lib} \
23 ${pkgdir}/usr/share/{applications,pixmaps}
25 install -Dm644 ${srcdir}/iDiet-${pkgver}/docs/ReadMe.txt ${pkgdir}/usr/share/java/idiet/docs/ReadMe.txt
26 install -Dm644 ${srcdir}/iDiet-${pkgver}/lib/* ${pkgdir}/usr/share/java/idiet/lib/
27 install -Dm644 ${srcdir}/iDiet-${pkgver}/{iDiet.jar,README.TXT,Authors,ChangeLog,GPL,VERSION} ${pkgdir}/usr/share/java/idiet/
28 install -Dm755 ${srcdir}/idiet ${pkgdir}/usr/bin/
29 install -Dm644 ${srcdir}/idiet.desktop ${pkgdir}/usr/share/applications/
30 install -Dm644 ${srcdir}/idiet.png ${pkgdir}/usr/share/pixmaps/