# $Id: PKGBUILD 104374 2014-01-19 16:29:38Z bpiotrowski $ # Maintainer: Thorsten Töpper # Contributor: J0k3r # Contributor: Alois Nespor # Contributor: JerichoKru pkgname=pragha pkgver=1.1.2.2 pkgrel=2 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-paranoia' 'gst-plugins-base' 'taglib' 'hicolor-icon-theme' 'gtk2' 'dbus-glib' 'sqlite' 'desktop-file-utils' 'libclastfm') optdepends=('notification-daemon: OSD notification' 'gst-plugins-good: A collection of gstreamer codecs' 'gst-plugins-bad: A collection of gstreamer codecs' 'gst-plugins-ugly: A collection of gstreamer codecs') makedepends=('intltool') replaces=('dissonance') install=pragha.install source=("https://github.com/matiasdelellis/pragha/releases/download/v$pkgver/pragha-$pkgver.tar.bz2") sha1sums=('b415432020c2e1aefc6640cef778ddc70bbeff7f') build() { cd "$srcdir/$pkgname-$pkgver" LIBS+="-ldbus-glib-1" \ ./configure --prefix=/usr \ --with-gstreamer=1.0 \ CPPFLAGS="-DHAVE_PARANOIA_NEW_INCLUDES" 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