summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD13
2 files changed, 10 insertions, 9 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a840869e90d..56e2a2a4e9e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = vdr-mpv
pkgdesc = mpv player plugin for VDR
- pkgver = 0.0.2
+ pkgver = 0.0.4
pkgrel = 1
url = http://www.vdr-portal.de/board1-news/board2-vdr-news/126741-announce-mpv-plugin-0-0-2/
arch = x86_64
@@ -12,9 +12,9 @@ pkgbase = vdr-mpv
depends = mpv
depends = vdr-api=2.2.0
backup = etc/vdr/conf.avail/50-mpv.conf
- source = vdr-mpv-0.0.2.tar.bz2::http://www.vdr-portal.de/index.php?page=Attachment&attachmentID=38361
+ source = http://projects.vdr-developer.org/git/vdr-plugin-mpv.git/snapshot/vdr-plugin-mpv-0.0.4.tar.bz2
source = 50-mpv.conf
- md5sums = 5026ce63061e7390fa51b13c8df98e0f
+ md5sums = 75e740d1559bc5e06845971d880e8371
md5sums = d1f90a5bc8d735b48764e12384324750
pkgname = vdr-mpv
diff --git a/PKGBUILD b/PKGBUILD
index 233464b33ff..7b8bcc8f9ec 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
# Maintainer: Christopher Reimer <mail+vdr4arch[at]c-reimer[dot]de>
pkgname=vdr-mpv
-pkgver=0.0.2
+pkgver=0.0.4
_vdrapi=2.2.0
pkgrel=1
pkgdesc="mpv player plugin for VDR"
@@ -10,21 +10,22 @@ url="http://www.vdr-portal.de/board1-news/board2-vdr-news/126741-announce-mpv-pl
arch=('x86_64' 'i686' 'arm' 'armv6h' 'armv7h')
license=('AGPL3')
depends=('mpv' "vdr-api=${_vdrapi}")
-source=("$pkgname-$pkgver.tar.bz2::http://www.vdr-portal.de/index.php?page=Attachment&attachmentID=38361"
+_plugname=${pkgname//vdr-/}
+source=("http://projects.vdr-developer.org/git/vdr-plugin-mpv.git/snapshot/vdr-plugin-$_plugname-$pkgver.tar.bz2"
"50-${pkgname//vdr-/}.conf")
backup=("etc/vdr/conf.avail/50-${pkgname//vdr-/}.conf")
-md5sums=('5026ce63061e7390fa51b13c8df98e0f'
+md5sums=('75e740d1559bc5e06845971d880e8371'
'd1f90a5bc8d735b48764e12384324750')
build() {
- cd "${srcdir}/${pkgname//vdr-/}-$pkgver"
+ cd "${srcdir}/vdr-plugin-$_plugname-$pkgver"
make
}
package() {
- cd "${srcdir}/${pkgname//vdr-/}-$pkgver"
+ cd "${srcdir}/vdr-plugin-$_plugname-$pkgver"
make DESTDIR="$pkgdir" install
- install -Dm644 "$srcdir/50-${pkgname//vdr-/}.conf" "$pkgdir/etc/vdr/conf.avail/50-${pkgname//vdr-/}.conf"
+ install -Dm644 "$srcdir/50-$_plugname.conf" "$pkgdir/etc/vdr/conf.avail/50-$_plugname.conf"
}