summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorlilac2019-02-14 02:07:15 +0800
committerlilac2019-02-14 02:07:15 +0800
commitbf54c6771e335182cc55c0155ff831964fad32a1 (patch)
treeb783b96432f4440dc20c4a10ba3bb22339324ab4
parentb992f4e51ad86cf10e87c55e007b2e5e186a3e55 (diff)
downloadaur-bf54c6771e335182cc55c0155ff831964fad32a1.tar.gz
update by lilac
-rw-r--r--.SRCINFO13
-rw-r--r--PKGBUILD16
2 files changed, 14 insertions, 15 deletions
diff --git a/.SRCINFO b/.SRCINFO
index b622233c944..8b17539d9b9 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,20 +1,21 @@
pkgbase = moonplayer
pkgdesc = A qt font-end for mplayer with the abilities of watching and downloading videos from chinese network
- pkgver = 2.4.r367
+ pkgver = 2.5
pkgrel = 1
url = https://github.com/coslyk/moonplayer
arch = i686
arch = x86_64
license = GPL
makedepends = git
- depends = qt5-base
- depends = qt5-x11extras
- depends = qt5-webkit
depends = python
- depends = python2
+ depends = qt5-x11extras
+ depends = qt5-websockets
+ depends = qt5-webengine
depends = mpv
depends = qtermwidget
- source = git+https://github.com/coslyk/moonplayer#branch=master
+ provides = moonplayer
+ conflicts = moonplayer
+ source = moonplayer.tar.gz::https://github.com/coslyk/moonplayer/archive/2.5.tar.gz
sha1sums = SKIP
pkgname = moonplayer
diff --git a/PKGBUILD b/PKGBUILD
index eda14e9d303..a607123ff69 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,25 +3,23 @@
# contributer: rob.til.freedman@googlemail.com
pkgname=moonplayer
-pkgver=2.4.r367
+pkgver=2.5
pkgrel=1
pkgdesc="A qt font-end for mplayer with the abilities of watching and downloading videos from chinese network"
arch=('i686' 'x86_64')
url="https://github.com/coslyk/moonplayer"
license=('GPL')
-depends=('qt5-base' 'qt5-x11extras' 'qt5-webkit' 'python' 'python2' 'mpv' 'qtermwidget')
+depends=('python' 'qt5-x11extras' 'qt5-websockets' 'qt5-webengine' 'mpv' 'qtermwidget')
makedepends=('git')
source=(
- "git+https://github.com/coslyk/moonplayer#branch=master"
+ $pkgname.tar.gz::https://github.com/coslyk/moonplayer/archive/$pkgver.tar.gz
)
+provides=('moonplayer')
+conflicts=('moonplayer')
sha1sums=('SKIP')
-pkgver(){
- cd $srcdir/$pkgname
- echo $(grep "Latest version" README.md | awk '{ print $3 }' | sed 's/^v//g')."r$(git rev-list --count HEAD)"
-}
build() {
- cd $srcdir/$pkgname/src
+ cd $srcdir/$pkgname-$pkgver/src
#
find . -name '*.py' -exec sed -i \
's|#![ ]*/usr/bin/python$|&2|;s|#![ ]*/usr/bin/env python$|&2|' {} +
@@ -32,7 +30,7 @@ build() {
}
package() {
- cd $srcdir/$pkgname/src
+ cd $srcdir/$pkgname-$pkgver/src
make INSTALL_ROOT=$pkgdir install