# $Id: PKGBUILD 72729 2012-06-21 16:19:43Z ttopper $ # Maintainer: Thorsten Töpper # Contributor: Alois Nespor # Contributor: JerichoKru pkgname=pragha pkgver=1.1.0.1 pkgrel=1 pkgdesc="A lightweight GTK+ music manager - fork of Consonance Music Manager." arch=('i686' 'x86_64' 'mips64el') url="http://pragha.wikispaces.com/" license=('GPL3') depends=('libnotify' 'libcdio' 'gstreamer0.10-base' 'taglib' 'hicolor-icon-theme' 'gtk2' 'dbus-glib' 'sqlite' 'desktop-file-utils' 'libclastfm') optdepends=('notification-daemon: OSD notification') replaces=('dissonance') install=pragha.install source=("https://github.com/downloads/matiasdelellis/pragha/$pkgname-$pkgver.tar.bz2") sha1sums=('2db115a7f263ea8bcac446590ccc32cae7542c93') 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