summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4a5b787fb8784a2b795550017c9a1ae49dde0bf7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Maintainer: Eric Ozwigh <ozwigh at gmail dot com>
# Contributor: Baobab <eternal.baobab@gmail.com>

pkgname=fatcalc
pkgver=1.1.1.32
pkgrel=2
pkgdesc="Body fat calculator"
arch=('any')
url="http://sourceforge.net/projects/fatcalc"
license=('GPL')
depends=("java-environment")
source=("http://downloads.sourceforge.net/project/$pkgname/$pkgname-${pkgver}-bin.tar.gz"
		"$pkgname.sh"
		"$pkgname.desktop"
		"$pkgname.png")
md5sums=('8c2b0563446cfc66d8b7fcd0530e4ec6'
         'ac0b8ea7315a454890c41e4e11350709'
         '7e2e2ae108235d6d8b402726b5cd967a'
         '3d62bb2e80ec7c1cdb0f5a842b1abf27')

package() {
    install -d $pkgdir/usr/share/java/$pkgname
    install -m644 $srcdir/$pkgname.jar $pkgdir/usr/share/java/$pkgname
    install -D -m755 $srcdir/$pkgname.sh $pkgdir/usr/bin/$pkgname
    install -D -m644 $srcdir/$pkgname.desktop $pkgdir/usr/share/applications/$pkgname.desktop
    install -D -m644 $pkgname.png $pkgdir/usr/share/pixmaps/$pkgname.png
    install -D -m644 $srcdir/readme.txt $pkgdir/usr/share/doc/$pkgname/readme.txt
}