updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / idiet / PKGBUILD
blob1fc13a9e7003ff8e4e37bc008fc78850742cb40c
1 # Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
2 # Contributor: Archie <xMickael@ifrance.com>
3 pkgname=idiet
4 pkgver=1.0.5
5 pkgrel=1
6 pkgdesc="a diet software that can help you choose, customize and follow a diet"
7 depends=('java-runtime')
8 arch=('i686' 'x86_64')
9 license=('GPL')
10 source=("http://downloads.sourceforge.net/project/${pkgname}/${pkgname}/iDiet ${pkgver}/iDiet-${pkgver}.tar.bz2" \
11         "idiet" \
12         "idiet.desktop" \
13         "idiet.png")
14 url="http://idiet.sourceforge.net"
15 md5sums=('6559e81a7c4548c6cf7be33ace1d6f20'
16          '6b42ce8ce7e6ff3339c64fb8bce11499'
17          '2a33946c31c00bb08ed2bea19aa1cd20'
18          '00b9fbce182565f06304fbb03b0677de')
20 build() {
21         install -d ${pkgdir}/usr/share/java/idiet/{docs,lib} \
22                 ${pkgdir}/usr/bin \
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/