1 # Maintainer: Alex Merry <dev@randomguy3.me.uk>
5 pkgdesc="A D-Bus profiler"
7 url="http://willthompson.co.uk/bustle/"
9 depends=('dbus-core' 'libglade')
10 makedepends=('ghc' 'haskell-mtl' 'haskell-parsec' 'gtk2hs-gtk' 'gtk2hs-glade')
11 source=($pkgname-$pkgver.tar.gz bustle.1 bustle-count.1 bustle-dbus-monitor.1 bustle-dot.1 bustle-time.1)
12 md5sums=('3167e201815cb40727f8fcc13459aa97'
13 '1ad8189edaa42c01e6f618705e9e9692'
14 'c771545db820441783d53b13e9946cce'
15 '23c0e382c7c4031dc8e72e4f9f3cf92f'
16 '904ff50172ccc36c408df469dcb5499e'
17 'bd08e02e3f8c4d17367be0f4d2ec6354')
20 cd "$srcdir/$pkgname-$pkgver"
25 # build the graphing tool
26 ghc -package Cabal Setup.lhs -o setup
27 ./setup configure --prefix /usr
32 cd "$srcdir/$pkgname-$pkgver"
33 ./setup copy --destdir "$pkgdir"
34 install -m755 bustle-dbus-monitor "$pkgdir/usr/bin/"
37 install -d -m755 "$pkgdir/usr/share/man/man1"
38 install -m644 bustle.1 bustle-count.1 bustle-dbus-monitor.1 bustle-dot.1 bustle-time.1 "$pkgdir/usr/share/man/man1/"
40 install -d -m755 "$pkgdir/usr/share/licenses/bustle"
41 mv "$pkgdir/usr/share/doc/$pkgname-$pkgver/LICENSE" "$pkgdir/usr/share/licenses/bustle/LICENSE"
42 rmdir "$pkgdir/usr/share/doc/$pkgname-$pkgver"
43 rmdir "$pkgdir/usr/share/doc"
46 # vim:set ts=2 sw=2 et: