[arch-commits] Commit in deepin-movie/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Fri Apr 14 06:34:12 UTC 2017
Date: Friday, April 14, 2017 @ 06:34:11
Author: felixonmars
Revision: 222982
upgpkg: deepin-movie 1:2.2.13-1
Modified:
deepin-movie/trunk/PKGBUILD
----------+
PKGBUILD | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-04-14 06:32:51 UTC (rev 222981)
+++ PKGBUILD 2017-04-14 06:34:11 UTC (rev 222982)
@@ -3,7 +3,7 @@
pkgname=deepin-movie
epoch=1
-pkgver=2.2.12
+pkgver=2.2.13
pkgrel=1
pkgdesc='Movie player based on QtAV'
arch=('any')
@@ -12,13 +12,13 @@
depends=('python2-ass' 'python2-pyqt5' 'qtav' 'mediainfo' 'deepin-menu' 'python2-dbus'
'python2-peewee' 'python2-magic' 'deepin-qml-widgets' 'python2-xpybutil' 'python2-pysrt'
'python2-opengl' 'deepin-manual')
-makedepends=('deepin-gettext-tools' 'git')
+makedepends=('deepin-gettext-tools')
groups=('deepin-extra')
-source=("git+https://github.com/linuxdeepin/deepin-movie.git#tag=$pkgver")
-sha256sums=('SKIP')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/deepin-movie/archive/$pkgver.tar.gz")
+sha512sums=('630bbc83ef30e6ae002d0432620c770e33adc7c047aac81d388168a7bdfff2f17df7f2d2d892ffe9da4eb545471d235f80692e78ef3e1c68df7c623d1aff309c')
prepare() {
- cd deepin-movie
+ cd deepin-movie-$pkgver
# fix python version
find -iname "*.py" | xargs sed -i 's=\(^#! */usr/bin.*\)python *$=\1python2='
@@ -25,14 +25,14 @@
}
build() {
- cd deepin-movie
+ cd deepin-movie-$pkgver
python2 configure.py
deepin-generate-mo locale/locale_config.ini
}
package() {
- cd deepin-movie
- make DESTDIR="${pkgdir}" PREFIX="/usr" install
+ cd deepin-movie-$pkgver
+ make DESTDIR="$pkgdir" PREFIX="/usr" install
chmod 0755 "$pkgdir"/usr/share/deepin-movie/main.py
}
More information about the arch-commits
mailing list