updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / pentaho-report-design-wizard / PKGBUILD
blobbf4f711577244535ef56d71cbb7c5804cafca9a9
1 # Contributor: Hubert Star (hubertstar at gmail dot com)
2 pkgname=pentaho-report-design-wizard
3 pkgver=1.7.1.1017
4 pkgrel=1
5 pkgdesc="Pentaho Report Wizard"
6 license=('MPL')
7 url="http://www.pentaho.com"
8 depends=('jre')
9 makedepends=('unzip')
10 arch=('i686' 'x86_64')
11 source=("http://downloads.sourceforge.net/pentaho/$pkgname-$pkgver.zip" "pentaho-report-design-wizard.png" "pentaho-report-design-wizard.sh" "pentaho-report-design-wizard.desktop")
12 md5sums=('7f0984bd45129561d3028609f1c8177d' 'c17e228d913ba9fc73880a809be8d78a' '1f373cb37678d3315d1496a51e52797b' 'abe9f542700fb4974385253c31a6c94f')
14 build() {
15         cd $startdir/src/$pkgname-$pkgver
16         mkdir -p $startdir/pkg/opt/pentaho/report-design-wizard
17         cp $startdir/src/$pkgname-$pkgver/* $startdir/pkg/opt/pentaho/report-design-wizard -rf
18         rm $startdir/pkg/opt/pentaho/report-design-wizard/reportwizard.bat -rf
19         rm $startdir/pkg/opt/pentaho/report-design-wizard/reportwizard_console.bat -rf
20         rm $startdir/pkg/opt/pentaho/report-design-wizard/reportwizard_osx.sh -rf
21         chmod a-x $startdir/pkg/opt/pentaho/* -R
22         chmod a+X $startdir/pkg/opt/pentaho/* -R
23         chmod a+x $startdir/pkg/opt/pentaho/report-design-wizard/reportwizard_linux.sh
24         
25         install -D -m0644 $startdir/src/pentaho-report-design-wizard.png $startdir/pkg/usr/share/pixmaps/pentaho-report-design-wizard.png
26         install -D -m0755 $startdir/src/pentaho-report-design-wizard.sh $startdir/pkg/usr/bin/pentaho-report-design-wizard
27         install -D -m0644 $startdir/src/pentaho-report-design-wizard.desktop $startdir/pkg/usr/share/applications/pentaho-report-design-wizard.desktop