[arch-commits] Commit in (5 files)

Felix Yan fyan at archlinux.org
Tue Oct 20 07:14:19 UTC 2015


    Date: Tuesday, October 20, 2015 @ 09:14:19
  Author: fyan
Revision: 144413

addpkg: deepin-movie 2.3.0.20151020-1

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

----------------------+
 PKGBUILD             |   38 ++++++++++++++++++++++++++++++++++++++
 deepin-movie.install |   11 +++++++++++
 2 files changed, 49 insertions(+)

Added: deepin-movie/trunk/PKGBUILD
===================================================================
--- deepin-movie/trunk/PKGBUILD	                        (rev 0)
+++ deepin-movie/trunk/PKGBUILD	2015-10-20 07:14:19 UTC (rev 144413)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=deepin-movie
+pkgver=2.3.0.20151020
+_commit=640ea9471b4d911728a9742bdae78a785f323b15
+pkgrel=1
+pkgdesc='Movie player based on QtAV'
+arch=('any')
+url="https://gitcafe.com/Deepin/deepin-movie"
+license=('GPL3')
+depends=('python2-pyqt5' 'qtav' 'mediainfo' 'deepin-menu' 'python2-dbus'
+         'python2-peewee' 'python2-pillow' 'python2-peewee' 'python2-magic'
+         'deepin-qml-widgets' 'python2-xpybutil' 'python2-deepin-utils'
+         'python2-requests' 'python2-bottle' 'dleyna-renderer')
+makedepends=('deepin-gettext-tools' 'git')
+groups=('deepin-extra')
+install="${pkgname}.install"
+source=("git+https://github.com/linuxdeepin/deepin-movie.git#commit=$_commit")
+sha256sums=('SKIP')
+
+prepare() {
+  cd deepin-movie
+
+  # fix python version
+  find -iname "*.py" | xargs sed -i 's=\(^#! */usr/bin.*\)python *$=\1python2='
+}
+
+build() {
+  cd deepin-movie
+  python2 configure.py
+  deepin-generate-mo locale/locale_config.ini
+}
+
+package() {
+  cd deepin-movie
+  make DESTDIR="${pkgdir}" PREFIX="/usr" install
+}


Property changes on: deepin-movie/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Added: deepin-movie/trunk/deepin-movie.install
===================================================================
--- deepin-movie/trunk/deepin-movie.install	                        (rev 0)
+++ deepin-movie/trunk/deepin-movie.install	2015-10-20 07:14:19 UTC (rev 144413)
@@ -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