From 1f55cedf5ea357497d2a98eb2be78d8dab4a9665 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 21 Feb 2012 23:15:10 +0000 Subject: Tue Feb 21 23:15:10 UTC 2012 --- community-staging/pragha/PKGBUILD | 40 +++++++++++++++++++++++++++++++++ community-staging/pragha/pragha.install | 10 +++++++++ 2 files changed, 50 insertions(+) create mode 100644 community-staging/pragha/PKGBUILD create mode 100644 community-staging/pragha/pragha.install (limited to 'community-staging/pragha') 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 +# Contributor: Alois Nespor +# Contributor: JerichoKru + +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 +} + -- cgit v1.2.3-54-g00ecf