desktop/sweethome3d/PKGBUILD

28 lines
1011 B
Bash
Raw Normal View History

2016-09-09 02:50:20 +08:00
pkgname=sweethome3d
2017-02-01 19:26:32 +08:00
pkgver=5.4
2016-09-09 02:50:20 +08:00
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")
2017-02-01 19:26:32 +08:00
sha1sums=('52ee883bd30820f417c0970364028fa1e7575173'
2016-12-05 08:42:38 +08:00
'dca76654e520a7b1692b69e8e159ac8bc9b9559a'
2016-09-09 02:50:20 +08:00
'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
}