4 pkgdesc="Removes the headache of applications matching into a simple DBus daemon and c wrapper library"
6 url="https://launchpad.net/bamf"
8 depends=('glib2' 'dbus-glib' 'libwnck3' 'libgtop')
10 source=(http://archive.ubuntu.com/ubuntu/pool/main/b/bamf/bamf_$pkgver.orig.tar.gz)
11 md5sums=('f2d557fa009c1a73c6dca8a84150bc92')
13 groups=('unity2d-bzr')
16 cd "$srcdir/bamf-$pkgver"
17 export CFLAGS="$CFLAGS -Wno-error=unused-but-set-variable"
18 export CXXFLAGS="${CFLAGS}"
19 export LDFLAGS="-Wl,-z,defs -Wl,--as-needed"
20 rm -rf "$srcdir/bamf-$pkgver/bin"
21 ./configure --prefix=/usr --enable-introspection=no
25 cd "$srcdir/bamf-$pkgver"
27 make DESTDIR="$srcdir/bamf-$pkgver/bin" install
28 install -D -m755 $srcdir/bamf-$pkgver/bin/usr/libexec/bamfdaemon ${pkgdir}/usr/libexec/bamfdaemon
29 install -D -m644 $srcdir/bamf-$pkgver/bin/usr/lib/gio/modules/libgiobamf.so ${pkgdir}/usr/lib/gio/modules/libgiobamf.so
30 install -D -m644 $srcdir/bamf-$pkgver/bin/usr/share/dbus-1/services/org.ayatana.bamf.service ${pkgdir}/usr/share/dbus-1/services/org.ayatana.bamf.service