summaryrefslogtreecommitdiff
path: root/community-staging/pragha
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-02-21 23:15:10 +0000
committerroot <root@rshg054.dnsready.net>2012-02-21 23:15:10 +0000
commit1f55cedf5ea357497d2a98eb2be78d8dab4a9665 (patch)
tree5e44ad19f2672ee92283377c9fe6eab3c8a815d7 /community-staging/pragha
parent11484c032f8c236b2044e715a9a3b28e33f65598 (diff)
Tue Feb 21 23:15:10 UTC 2012
Diffstat (limited to 'community-staging/pragha')
-rw-r--r--community-staging/pragha/PKGBUILD40
-rw-r--r--community-staging/pragha/pragha.install10
2 files changed, 50 insertions, 0 deletions
diff --git a/community-staging/pragha/PKGBUILD b/community-staging/pragha/PKGBUILD
new file mode 100644
index 000000000..ae31a38d3
--- /dev/null
+++ b/community-staging/pragha/PKGBUILD
@@ -0,0 +1,40 @@
+# $Id: PKGBUILD 65302 2012-02-20 20:09:04Z ttopper $
+# 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.0
+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'
+ 'taglib' 'hicolor-icon-theme' 'gtk2'
+ 'dbus-glib' 'sqlite3' 'desktop-file-utils')
+optdepends=('notification-daemon: OSD notification')
+replaces=('dissonance')
+install=pragha.install
+source=(http://dissonance.googlecode.com/files/$pkgname-$pkgver.tar.bz2)
+sha1sums=('b4d2780b065e3141489dcc27c121f01b1d47227c')
+
+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
+
diff --git a/community-staging/pragha/pragha.install b/community-staging/pragha/pragha.install
new file mode 100644
index 000000000..ff5a644bd
--- /dev/null
+++ b/community-staging/pragha/pragha.install
@@ -0,0 +1,10 @@
+post_install() {
+ gtk-update-icon-cache -q -f -t usr/share/icons/hicolor
+ update-desktop-database -q
+}
+
+post_remove() {
+ gtk-update-icon-cache -q -f -t usr/share/icons/hicolor
+ update-desktop-database -q
+}
+