[arch-commits] Commit in (5 files)

Felix Yan fyan at archlinux.org
Tue Sep 15 08:10:30 UTC 2015


    Date: Tuesday, September 15, 2015 @ 10:10:30
  Author: fyan
Revision: 140307

addpkg: deepin-music 2.3.0-1

Added:
  deepin-music/
  deepin-music/repos/
  deepin-music/trunk/
  deepin-music/trunk/PKGBUILD
  deepin-music/trunk/deepin-music.install

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

Added: deepin-music/trunk/PKGBUILD
===================================================================
--- deepin-music/trunk/PKGBUILD	                        (rev 0)
+++ deepin-music/trunk/PKGBUILD	2015-09-15 08:10:30 UTC (rev 140307)
@@ -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
+}


Property changes on: deepin-music/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Added: deepin-music/trunk/deepin-music.install
===================================================================
--- deepin-music/trunk/deepin-music.install	                        (rev 0)
+++ deepin-music/trunk/deepin-music.install	2015-09-15 08:10:30 UTC (rev 140307)
@@ -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