summaryrefslogtreecommitdiff
path: root/community/pragha/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/pragha/PKGBUILD')
-rw-r--r--community/pragha/PKGBUILD17
1 files changed, 11 insertions, 6 deletions
diff --git a/community/pragha/PKGBUILD b/community/pragha/PKGBUILD
index ea590746b..10f1bfd2b 100644
--- a/community/pragha/PKGBUILD
+++ b/community/pragha/PKGBUILD
@@ -1,27 +1,32 @@
-# $Id: PKGBUILD 75419 2012-08-22 19:34:43Z ttopper $
+# $Id: PKGBUILD 82336 2013-01-15 11:35:08Z allan $
# Maintainer: Thorsten Töpper <atsutane-tu@freethoughts.de>
# Contributor: Alois Nespor <alois.nespor@gmail.com>
# Contributor: JerichoKru <jerichokru(AT)htomail.com>
pkgname=pragha
pkgver=1.1.1
-pkgrel=1
+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' 'gstreamer0.10-base'
+depends=('libnotify' 'libcdio-paranoia' '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=('a7b839df5799263f870ea65a7f272015e24637e9')
+source=("https://github.com/downloads/matiasdelellis/pragha/$pkgname-$pkgver.tar.bz2"
+ cdio-includes.patch)
+sha1sums=('a7b839df5799263f870ea65a7f272015e24637e9'
+ '05a2e007800dc5395a0bb7f026ec7e388cd9488c')
build() {
cd "$srcdir/$pkgname-$pkgver"
+
+ patch -Np1 -i "$srcdir/cdio-includes.patch"
+
LIBS+="-ldbus-glib-1" ./configure --prefix=/usr
make
}
@@ -29,7 +34,7 @@ build() {
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/"