summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD13
1 files changed, 7 insertions, 6 deletions
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"
}