[arch-commits] Commit in deepin-game/repos (3 files)
Felix Yan
fyan at archlinux.org
Thu Oct 1 09:26:40 UTC 2015
Date: Thursday, October 1, 2015 @ 11:26:39
Author: fyan
Revision: 142292
archrelease: copy trunk to community-any
Added:
deepin-game/repos/community-any/
deepin-game/repos/community-any/PKGBUILD
(from rev 142291, deepin-game/trunk/PKGBUILD)
deepin-game/repos/community-any/deepin-game.install
(from rev 142291, deepin-game/trunk/deepin-game.install)
---------------------+
PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++
deepin-game.install | 12 ++++++++++++
2 files changed, 48 insertions(+)
Copied: deepin-game/repos/community-any/PKGBUILD (from rev 142291, deepin-game/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD (rev 0)
+++ community-any/PKGBUILD 2015-10-01 09:26:39 UTC (rev 142292)
@@ -0,0 +1,36 @@
+# $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-game
+pkgver=2014.2
+pkgrel=1
+pkgdesc="Deepin Game Center"
+arch=('any')
+url="https://gitcafe.com/Deepin/deepin-game"
+license=('GPL3')
+depends=('python2-deepin-ui' 'flashplugin' 'hicolor-icon-theme' 'python2-scipy'
+ 'python2-jswebkit' 'python2-deepin-storm')
+makedepends=('deepin-gettext-tools' 'git')
+groups=('deepin-extra')
+install="${pkgname}.install"
+source=("git+https://github.com/linuxdeepin/deepin-game.git#tag=$pkgver")
+sha256sums=('SKIP')
+
+prepare() {
+ cd deepin-game
+
+ # fix python version
+ find -iname "*.py" | xargs sed -i 's=\(^#! */usr/bin.*\)python *$=\1python2='
+}
+
+build() {
+ cd deepin-game
+ deepin-generate-mo tools/locale_config.ini
+}
+
+package() {
+ cd deepin-game
+ make DESTDIR="${pkgdir}" PREFIX="/usr" install
+}
Copied: deepin-game/repos/community-any/deepin-game.install (from rev 142291, deepin-game/trunk/deepin-game.install)
===================================================================
--- community-any/deepin-game.install (rev 0)
+++ community-any/deepin-game.install 2015-10-01 09:26:39 UTC (rev 142292)
@@ -0,0 +1,12 @@
+post_install() {
+ update-desktop-database -q
+ gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
More information about the arch-commits
mailing list