[arch-commits] Commit in pragha/repos (2 files)

Eli Schwartz eschwartz at archlinux.org
Thu Jan 11 20:53:32 UTC 2018


    Date: Thursday, January 11, 2018 @ 20:53:32
  Author: eschwartz
Revision: 281482

archrelease: copy trunk to community-staging-x86_64

Added:
  pragha/repos/community-staging-x86_64/
  pragha/repos/community-staging-x86_64/PKGBUILD
    (from rev 281481, pragha/trunk/PKGBUILD)

----------+
 PKGBUILD |   51 +++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 51 insertions(+)

Copied: pragha/repos/community-staging-x86_64/PKGBUILD (from rev 281481, pragha/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2018-01-11 20:53:32 UTC (rev 281482)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer: Alad Wenter <alad at mailbox.org>
+# Contributor: Thorsten Töpper <atsutane-tu at freethoughts.de>
+# Contributor: J0k3r <moebius282 e4a t gmail D0_T com>
+# Contributor: Alois Nespor <alois.nespor at gmail.com>
+# Contributor: JerichoKru   <jerichokru(AT)hotmail.com>
+
+pkgname=pragha
+pkgver=1.3.3
+pkgrel=3
+pkgdesc="A lightweight GTK+ music manager - fork of Consonance Music Manager."
+arch=('x86_64')
+url="https://pragha-music-player.github.io/"
+license=('GPL3')
+depends=('libnotify' 'libcdio-paranoia' 'libclastfm' 'gst-plugins-base'
+         'taglib' 'hicolor-icon-theme' 'dbus-glib' 'desktop-file-utils'
+         'libpeas' 'libgudev' 'glyr')
+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' 'xfce4-dev-tools' 'gobject-introspection')
+replaces=('dissonance')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/pragha-music-player/pragha/archive/v${pkgver}.tar.gz")
+sha1sums=('9396fa6c2863fa4be185c71592e9a36e9426c094')
+
+prepare() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  ./autogen.sh
+}
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  CPPFLAGS="-DHAVE_PARANOIA_NEW_INCLUDES" LIBS+="-ldbus-glib-1" \
+    ./configure --prefix=/usr \
+    --with-gstreamer=1.0
+  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.1" "$pkgdir/usr/share/man/man1/"
+}
+
+# vim:ts=2:sw=2:expandtab



More information about the arch-commits mailing list