pkgname=sweethome3d pkgver=5.4 pkgrel=1 pkgdesc="An interior design application" arch=('x86_64') url="http://sweethome3d.com" screenshot="http://sweethome3d.com/images/SweetHome3DLinux.png" license=('GPL') depends=('bash' 'java-environment') optdepends=('sweethome3d-furniture-library: for managing additional forniture') source=("http://downloads.sourceforge.net/$pkgname/SweetHome3D-$pkgver.jar" "$pkgname.sh" "$pkgname.desktop" "$pkgname.png") sha1sums=('52ee883bd30820f417c0970364028fa1e7575173' 'dca76654e520a7b1692b69e8e159ac8bc9b9559a' 'c7066328d054a872964de830cd44436a9d69a1cd' '73d088954b0e75c18daa33c246ae132ea368d0a7') package() { cd "$srcdir" install -Dm644 SweetHome3D-$pkgver.jar "$pkgdir"/usr/share/$pkgname/$pkgname.jar install -Dm644 $pkgname.png "$pkgdir"/usr/share/pixmaps/$pkgname.png install -Dm644 $pkgname.desktop "$pkgdir"/usr/share/applications/$pkgname.desktop install -Dm755 $pkgname.sh "$pkgdir"/usr/bin/$pkgname }