Pastebin is 300% more awesome when you are logged in. Sign Up, it's FREE!
Guest

sweethome3d-PKGBUILD

By: a guest on Jan 6th, 2013  |  syntax: Bash  |  size: 0.96 KB  |  hits: 43  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # Maintainer:  Daniel YC Lin <dlin.tw at gmail>
  2. # Contributor : Tdy  <tdy@gmx.com>, Biginoz <biginoz at free.fr>, Archan Paul <paul.archan@gmail.com>
  3. pkgname=sweethome3d
  4. pkgver=3.7
  5. pkgrel=2
  6. pkgdesc="An interior design application"
  7. arch=('any')
  8. url="http://www.sweethome3d.com/"
  9. license=('GPL')
  10. depends=('bash' 'java-runtime')
  11. source=(sweethome3d
  12.  http://downloads.sourceforge.net/$pkgname/SweetHome3D-$pkgver.jar
  13.  $pkgname.desktop $pkgname.png)
  14. md5sums=('ea0166c1fb8f9d8de4a62d470cb94630' 'e9c9ac2e44e0820caebae928bb002e37' '704fccf9fa79f0dad00e89e0c71fe341' '4fa1604285c1d8c474e3a914b6a4e6ce')
  15.  
  16. package() {
  17.   cd "$srcdir"
  18.   mkdir -p "$pkgdir/usr/share/java/"
  19.   install -Dm644 SweetHome3D-$pkgver.jar "$pkgdir/usr/share/java/sweethome3d.jar"
  20.   install -Dm644 $pkgname.png "$pkgdir/usr/share/pixmaps/$pkgname.png"
  21.   install -Dm644 $pkgname.desktop "$pkgdir/usr/share/applications/$pkgname.desktop"
  22.   install -Dm755 ../sweethome3d "$pkgdir/usr/bin/sweethome3d"
  23. }