updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / jdiskreport / PKGBUILD
blobde657a746e903facbf5514d2111f0940d97e4f1a
1 # Contributor: Jan Stępień <jstepien@users.sourceforge.net>
3 pkgname=jdiskreport
4 pkgver=1.3.2
5 pkgrel=1
6 pkgdesc="Enables you to understand your disk drive usage"
7 arch=('any')
8 license=('custom')
9 url="http://www.jgoodies.com/freeware/jdiskreport/index.html"
10 depends=('java-runtime')
11 source=(http://www.jgoodies.com/download/${pkgname}/${pkgname}-${pkgver//./_}.zip jdiskreport.sh)
12 sha1sums=('c054e3b54f9dce9b80d9182bc7d9992ab46c3af3'
13     '9cea3d0c4ad4d123e080f76ff7c88fc2c225e6a1')
15 build() {
16     mkdir -p $startdir/pkg{/usr/bin,/usr/share/{java/$pkgname,doc/$pkgname,licenses/$pkgname}} || return 1
17     install -m755 jdiskreport.sh $startdir/pkg/usr/bin/jdiskreport || return 1
18     cd $startdir/src/$pkgname-$pkgver || return 1
19     mv *.jar $startdir/pkg/usr/share/java/$pkgname || return 1
20     install -m644 LICENSE.txt $startdir/pkg/usr/share/licenses/$pkgname/ || return 1
21     install -m644 {README,RELEASE-NOTES}.txt $startdir/pkg/usr/share/doc/$pkgname/ || return 1