[arch-commits] Commit in deepin-movie/repos (3 files)
Felix Yan
fyan at archlinux.org
Tue Oct 20 07:25:06 UTC 2015
Date: Tuesday, October 20, 2015 @ 09:25:06
Author: fyan
Revision: 144414
archrelease: copy trunk to community-any
Added:
deepin-movie/repos/community-any/
deepin-movie/repos/community-any/PKGBUILD
(from rev 144413, deepin-movie/trunk/PKGBUILD)
deepin-movie/repos/community-any/deepin-movie.install
(from rev 144413, deepin-movie/trunk/deepin-movie.install)
----------------------+
PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++
deepin-movie.install | 11 +++++++++++
2 files changed, 49 insertions(+)
Copied: deepin-movie/repos/community-any/PKGBUILD (from rev 144413, deepin-movie/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD (rev 0)
+++ community-any/PKGBUILD 2015-10-20 07:25:06 UTC (rev 144414)
@@ -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
+}
Copied: deepin-movie/repos/community-any/deepin-movie.install (from rev 144413, deepin-movie/trunk/deepin-movie.install)
===================================================================
--- community-any/deepin-movie.install (rev 0)
+++ community-any/deepin-movie.install 2015-10-20 07:25:06 UTC (rev 144414)
@@ -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