[arch-commits] Commit in deepin-screenshot/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Thu Apr 6 03:12:28 UTC 2017
Date: Thursday, April 6, 2017 @ 03:12:27
Author: felixonmars
Revision: 220832
upgpkg: deepin-screenshot 3.1.11-1
Modified:
deepin-screenshot/trunk/PKGBUILD
----------+
PKGBUILD | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-04-06 03:11:00 UTC (rev 220831)
+++ PKGBUILD 2017-04-06 03:12:27 UTC (rev 220832)
@@ -4,7 +4,7 @@
# Contributor: Xu Fasheng <fasheng.xu[AT]gmail.com>
pkgname=deepin-screenshot
-pkgver=3.1.10
+pkgver=3.1.11
pkgrel=1
pkgdesc="Easy-to-use screenshot tool for linuxdeepin desktop environment"
arch=('any')
@@ -13,15 +13,15 @@
depends=('deepin-menu' 'deepin-qml-widgets' 'pygtk' 'qt5-quickcontrols'
'qt5-svg' 'python2-pyqt5' 'python2-wnck' 'python2-xpybutil'
'python2-opengl')
-makedepends=('deepin-gettext-tools' 'git')
+makedepends=('deepin-gettext-tools')
optdepends=('deepin-social-sharing: for "Share" support'
'deepin-daemon: for sound effect')
groups=('deepin-extra')
-source=("git+https://cr.deepin.io/deepin-screenshot.git#tag=$pkgver")
-sha256sums=('SKIP')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/deepin-screenshot/archive/$pkgver.tar.gz")
+sha512sums=('66f2df6c491403d170369c7dc8c173adf705da6170f412fffe2a0313cd82bbaed8234decce5278c5f74c0a9232095b0b3ce272ccf074d75f1b292ba0cdff592b')
prepare() {
- cd deepin-screenshot
+ cd deepin-screenshot-$pkgver
# fix python version
find src -type f | xargs sed -i 's=\(^#! */usr/bin.*\)python *$=\1python2='
@@ -28,13 +28,13 @@
}
build() {
- cd deepin-screenshot
+ cd deepin-screenshot-$pkgver
make
}
package() {
- cd deepin-screenshot
- make DESTDIR="${pkgdir}" install
+ cd deepin-screenshot-$pkgver
+ make DESTDIR="$pkgdir" install
}
# Local Variables:
More information about the arch-commits
mailing list