1 # Maintainer: SpepS <dreamspepser at yahoo dot it>
2 # Contributor : Aaron Griffin <aaron@archlinux.org>
7 pkgdesc="Boot Process Performance Visualization"
8 url="http://www.bootchart.org/"
12 makedepends=('apache-ant' 'java-environment>=6')
13 optdepends=('java-runtime>=6: for bootchart-render')
14 install="$pkgname.install"
15 source=("http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2"
17 "fix-inittab-regex.patch")
18 md5sums=('4be91177d19069e21beeb106f2f77dff'
19 '19e785b10f27b264e2f033a5548307b9'
20 'c8a70f1f763a2632dc7759a6387f865f')
23 cd "$srcdir/$pkgname-$pkgver"
25 #FS#8438 - fix the regex used to scan inittab for archlinux
26 patch -up1 < ../fix-inittab-regex.patch
29 /usr/share/java/apache-ant/bin/ant jar
33 cd "$srcdir/$pkgname-$pkgver"
35 install -dm755 "$pkgdir"/{etc,sbin,usr/{bin,share/$pkgname}}
37 install -Dm755 script/${pkgname}d "$pkgdir/sbin"
38 install -Dm644 script/${pkgname}d.conf "$pkgdir/etc"
39 install -Dm755 ../${pkgname}-render "$pkgdir/usr/bin"
40 install -Dm644 ${pkgname}.jar "$pkgdir/usr/share/$pkgname"