[arch-commits] Commit in deepin-menu/repos (4 files)

Felix Yan felixonmars at archlinux.org
Fri Aug 12 16:21:58 UTC 2016


    Date: Friday, August 12, 2016 @ 16:21:57
  Author: felixonmars
Revision: 186661

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

Added:
  deepin-menu/repos/community-testing-i686/
  deepin-menu/repos/community-testing-i686/PKGBUILD
    (from rev 186660, deepin-menu/trunk/PKGBUILD)
  deepin-menu/repos/community-testing-x86_64/
  deepin-menu/repos/community-testing-x86_64/PKGBUILD
    (from rev 186660, deepin-menu/trunk/PKGBUILD)

-----------------------------------+
 community-testing-i686/PKGBUILD   |   48 ++++++++++++++++++++++++++++++++++++
 community-testing-x86_64/PKGBUILD |   48 ++++++++++++++++++++++++++++++++++++
 2 files changed, 96 insertions(+)

Copied: deepin-menu/repos/community-testing-i686/PKGBUILD (from rev 186660, deepin-menu/trunk/PKGBUILD)
===================================================================
--- community-testing-i686/PKGBUILD	                        (rev 0)
+++ community-testing-i686/PKGBUILD	2016-08-12 16:21:57 UTC (rev 186661)
@@ -0,0 +1,48 @@
+# $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-menu
+pkgver=3.0.4
+pkgrel=1
+pkgdesc="Deepin menu service for building beautiful menus"
+arch=('i686' 'x86_64')
+url="https://gitcafe.com/Deepin/deepin-menu"
+license=('GPL3')
+depends=('python2-pyqt5' 'qt5-x11extras')
+makedepends=('python2-setuptools' 'qt5-declarative' 'git')
+groups=('deepin')
+source=("git+https://cr.deepin.io/deepin-menu.git#tag=$pkgver")
+sha256sums=('SKIP')
+
+prepare() {
+  cd deepin-menu
+
+  # fix python version
+  find -iname "*.py" | xargs sed -i 's=\(^#! */usr/bin.*\)python *$=\1python2='
+}
+
+build() {
+  cd deepin-menu
+
+  python2 setup.py build
+  qmake-qt5 DEFINES+=QT_NO_DEBUG_OUTPUT
+  make
+}
+
+package() {
+  cd deepin-menu
+
+  python2 setup.py install --root="${pkgdir}" --optimize=1
+
+  make INSTALL_ROOT="$pkgdir" install
+
+  install -dm 755 "${pkgdir}"/usr/share/dbus-1/services/
+  install -dm 755 "${pkgdir}"/etc/xdg/autostart/
+
+  rm -r "${pkgdir}"/usr/deepin_menu
+
+  install -m 644 *.service "${pkgdir}"/usr/share/dbus-1/services/
+  install -m 644 *.desktop "${pkgdir}"/etc/xdg/autostart/
+}

Copied: deepin-menu/repos/community-testing-x86_64/PKGBUILD (from rev 186660, deepin-menu/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2016-08-12 16:21:57 UTC (rev 186661)
@@ -0,0 +1,48 @@
+# $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-menu
+pkgver=3.0.4
+pkgrel=1
+pkgdesc="Deepin menu service for building beautiful menus"
+arch=('i686' 'x86_64')
+url="https://gitcafe.com/Deepin/deepin-menu"
+license=('GPL3')
+depends=('python2-pyqt5' 'qt5-x11extras')
+makedepends=('python2-setuptools' 'qt5-declarative' 'git')
+groups=('deepin')
+source=("git+https://cr.deepin.io/deepin-menu.git#tag=$pkgver")
+sha256sums=('SKIP')
+
+prepare() {
+  cd deepin-menu
+
+  # fix python version
+  find -iname "*.py" | xargs sed -i 's=\(^#! */usr/bin.*\)python *$=\1python2='
+}
+
+build() {
+  cd deepin-menu
+
+  python2 setup.py build
+  qmake-qt5 DEFINES+=QT_NO_DEBUG_OUTPUT
+  make
+}
+
+package() {
+  cd deepin-menu
+
+  python2 setup.py install --root="${pkgdir}" --optimize=1
+
+  make INSTALL_ROOT="$pkgdir" install
+
+  install -dm 755 "${pkgdir}"/usr/share/dbus-1/services/
+  install -dm 755 "${pkgdir}"/etc/xdg/autostart/
+
+  rm -r "${pkgdir}"/usr/deepin_menu
+
+  install -m 644 *.service "${pkgdir}"/usr/share/dbus-1/services/
+  install -m 644 *.desktop "${pkgdir}"/etc/xdg/autostart/
+}



More information about the arch-commits mailing list