summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Reimer2015-06-16 13:49:55 +0200
committerChristopher Reimer2015-06-16 13:49:55 +0200
commitb80902464ce9f3546bab31e3ccd83effb4a06501 (patch)
treecf3757443be91e7654c4661877c4b4370a044e25
parent15262f85785a9103fbafb3d380fdd818985c0490 (diff)
downloadaur-b80902464ce9f3546bab31e3ccd83effb4a06501.tar.gz
Sync from VDR4Arch (https://github.com/VDR4Arch/vdr4arch/commit/38a3c1d0c90cfd70b91ae3b72452204470e28057)
-rw-r--r--PKGBUILD11
1 files changed, 5 insertions, 6 deletions
diff --git a/PKGBUILD b/PKGBUILD
index efd2b162fd4..233464b33ff 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -10,22 +10,21 @@ 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}")
-_plugname=$(echo $pkgname | sed 's/vdr-//g')
source=("$pkgname-$pkgver.tar.bz2::http://www.vdr-portal.de/index.php?page=Attachment&attachmentID=38361"
- "50-$_plugname.conf")
-backup=("etc/vdr/conf.avail/50-$_plugname.conf")
+ "50-${pkgname//vdr-/}.conf")
+backup=("etc/vdr/conf.avail/50-${pkgname//vdr-/}.conf")
md5sums=('5026ce63061e7390fa51b13c8df98e0f'
'd1f90a5bc8d735b48764e12384324750')
build() {
- cd "${srcdir}/$_plugname-$pkgver"
+ cd "${srcdir}/${pkgname//vdr-/}-$pkgver"
make
}
package() {
- cd "${srcdir}/$_plugname-$pkgver"
+ cd "${srcdir}/${pkgname//vdr-/}-$pkgver"
make DESTDIR="$pkgdir" install
- install -Dm644 "$srcdir/50-$_plugname.conf" "$pkgdir/etc/vdr/conf.avail/50-$_plugname.conf"
+ install -Dm644 "$srcdir/50-${pkgname//vdr-/}.conf" "$pkgdir/etc/vdr/conf.avail/50-${pkgname//vdr-/}.conf"
}