# $Id: PKGBUILD 58664 2011-11-17 11:39:42Z ttopper $ # Maintainer: Thorsten Töpper # Contributor: Alois Nespor # Contributor: JerichoKru pkgname=pragha pkgver=0.99.1.1 pkgrel=1 pkgdesc="A lightweight GTK+ music manager - fork of Consonance Music Manager." arch=('i686' 'x86_64') url="http://pragha.wikispaces.com/" license=('GPL3') depends=('libnotify' 'libcdio' 'curl' 'taglib' 'gstreamer0.10' 'hicolor-icon-theme' 'gtk2' 'dbus-glib' 'dbus-core' 'sqlite3' 'glib2' 'desktop-file-utils') optdepends=('notification-daemon: OSD notification') replaces=('dissonance') install=pragha.install source=(http://dissonance.googlecode.com/files/$pkgname-$pkgver.tar.bz2) sha1sums=('25ff36e8a197f45edf7309072f1bd55785d9843d') build() { cd "$srcdir/$pkgname-$pkgver" LIBS+="-ldbus-glib-1" ./configure --prefix=/usr make } package() { cd "$srcdir/$pkgname-$pkgver" make DESTDIR="$pkgdir/" install install -m 644 "data/$pkgname.desktop" "$pkgdir/usr/share/applications" install -d "$pkgdir/usr/share/pixmaps" install -m 644 "data/$pkgname.png" "$pkgdir/usr/share/pixmaps/" install -m 644 "data/$pkgname.1" "$pkgdir/usr/share/man/man1/" } # vim:ts=2:sw=2:expandtab