[arch-commits] Commit in deepin-screenshot/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Wed May 17 08:44:36 UTC 2017


    Date: Wednesday, May 17, 2017 @ 08:44:33
  Author: felixonmars
Revision: 228359

upgpkg: deepin-screenshot 4.0.0-1

Modified:
  deepin-screenshot/trunk/PKGBUILD

----------+
 PKGBUILD |   27 ++++++---------------------
 1 file changed, 6 insertions(+), 21 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-05-17 08:01:30 UTC (rev 228358)
+++ PKGBUILD	2017-05-17 08:44:33 UTC (rev 228359)
@@ -4,39 +4,24 @@
 # Contributor: Xu Fasheng <fasheng.xu[AT]gmail.com>
 
 pkgname=deepin-screenshot
-pkgver=3.1.15
+pkgver=4.0.0
 pkgrel=1
 pkgdesc="Easy-to-use screenshot tool for linuxdeepin desktop environment"
-arch=('any')
+arch=('i686' 'x86_64')
 url="https://github.com/linuxdeepin/deepin-screenshot"
 license=('GPL3')
-depends=('deepin-menu' 'deepin-qml-widgets' 'pygtk' 'qt5-quickcontrols'
-         'qt5-svg' 'python2-pyqt5' 'python2-wnck' 'python2-xpybutil'
-         'python2-opengl')
-makedepends=('deepin-gettext-tools')
-optdepends=('deepin-social-sharing: for "Share" support'
-            'deepin-daemon: for sound effect')
+depends=('deepin-tool-kit')
 groups=('deepin-extra')
 source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/deepin-screenshot/archive/$pkgver.tar.gz")
-sha512sums=('ecef43deb19ee5c063ad065851d7480647dadbf329a78852dccaab866d9a8907697b15987d2106212524003e39fe3b561f1865df0f9a2ece1687689d97279b56')
+sha512sums=('e8a1fc93938a6aa9c51aa28fa0beea610fbc25e0f3981ff13798062d5cdf68e9b3c3b2ba0bb83bca5f302b6c051d23a8045c52575acda4b37711ea5f7fb3ea5b')
 
-prepare() {
-  cd deepin-screenshot-$pkgver
-
-  # fix python version
-  find src -type f | xargs sed -i 's=\(^#! */usr/bin.*\)python *$=\1python2='
-}
-
 build() {
   cd deepin-screenshot-$pkgver
+  qmake-qt5 PREFIX=/usr
   make
 }
 
 package() {
   cd deepin-screenshot-$pkgver
-  make DESTDIR="$pkgdir" install
+  make INSTALL_ROOT="$pkgdir" install
 }
-
- # Local Variables:
- # sh-basic-offset: 2
- # End:



More information about the arch-commits mailing list