diff options
Diffstat (limited to 'community/pragha/PKGBUILD')
-rw-r--r-- | community/pragha/PKGBUILD | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/community/pragha/PKGBUILD b/community/pragha/PKGBUILD new file mode 100644 index 000000000..2687a2786 --- /dev/null +++ b/community/pragha/PKGBUILD @@ -0,0 +1,47 @@ +# $Id: PKGBUILD 92211 2013-06-02 19:15:02Z bpiotrowski $ +# 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.2 +pkgrel=1 +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' 'gstreamer0.10-base' + 'taglib' 'hicolor-icon-theme' 'gtk2' + 'dbus-glib' 'sqlite' 'desktop-file-utils' + 'libclastfm') +optdepends=('notification-daemon: OSD notification') +makedepends=('intltool') +replaces=('dissonance') +install=pragha.install +source=("http://dissonance.googlecode.com/files/pragha-$pkgver.tar.bz2" + cdio-includes.patch) +sha1sums=('3e6456275a216110bd6942b2dc19b1120f4d14e5' + '83b366be516b4c09dbccbb25b473f2de545bdbe8') + +build() { + cd "$srcdir/$pkgname-$pkgver" + + patch -Np1 -i "$srcdir/cdio-includes.patch" + + 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 + |