[arch-commits] Commit in deepin-music/repos (3 files)

Felix Yan fyan at archlinux.org
Tue Sep 15 08:13:45 UTC 2015


    Date: Tuesday, September 15, 2015 @ 10:13:44
  Author: fyan
Revision: 140308

archrelease: copy trunk to community-any

Added:
  deepin-music/repos/community-any/
  deepin-music/repos/community-any/PKGBUILD
    (from rev 140307, deepin-music/trunk/PKGBUILD)
  deepin-music/repos/community-any/deepin-music.install
    (from rev 140307, deepin-music/trunk/deepin-music.install)

----------------------+
 PKGBUILD             |   42 ++++++++++++++++++++++++++++++++++++++++++
 deepin-music.install |   11 +++++++++++
 2 files changed, 53 insertions(+)

Copied: deepin-music/repos/community-any/PKGBUILD (from rev 140307, deepin-music/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2015-09-15 08:13:44 UTC (rev 140308)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Josip Ponjavic <josipponjavic at gmail dot com>
+# Contributor: Xu Fasheng <fasheng.xu[AT]gmail.com>
+
+pkgname=deepin-music
+pkgver=2.3.0
+pkgrel=1
+pkgdesc='Awesome music player with brilliant and tweakful UI Deepin-UI based.'
+arch=('any')
+url="https://gitcafe.com/Deepin/deepin-music"
+license=('GPL3')
+depends=('gstreamer0.10-python' 'gstreamer0.10-bad-plugins'
+         'gstreamer0.10-good-plugins' 'gstreamer0.10-ugly-plugins'
+         'mutagen' 'python2-chardet' 'python2-pyquery' 'python2-cssselect'
+         'python2-dbus' 'sonata' 'cddb-py' 'python2-scipy' 'python2-pycurl'
+         'python2-xlib' 'python2-keybinder2' 'python2-deepin-ui' 'desktop-file-utils')
+makedepends=('deepin-gettext-tools' 'git')
+groups=('deepin-extra')
+provides=('deepin-music-player')
+replaces=('deepin-music-player')
+conflicts=('deepin-music-player')
+install="${pkgname}.install"
+source=("git+https://github.com/linuxdeepin/deepin-music.git#tag=$pkgver")
+sha256sums=('SKIP')
+
+prepare() {
+  cd deepin-music
+
+  # fix python version
+  find -iname "*.py" | xargs sed -i 's=\(^#! */usr/bin.*\)python *$=\1python2='
+}
+
+build() {
+  cd deepin-music
+  deepin-generate-mo tools/locale_config.ini
+}
+
+package() {
+  cd deepin-music
+  make DESTDIR="${pkgdir}" PREFIX="/usr" install
+}

Copied: deepin-music/repos/community-any/deepin-music.install (from rev 140307, deepin-music/trunk/deepin-music.install)
===================================================================
--- community-any/deepin-music.install	                        (rev 0)
+++ community-any/deepin-music.install	2015-09-15 08:13:44 UTC (rev 140308)
@@ -0,0 +1,11 @@
+post_install() {
+  update-desktop-database -q
+}
+
+post_upgrade() {
+  post_install "$1"
+}
+
+post_remove() {
+  post_install "$1"
+}



More information about the arch-commits mailing list