summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Merry2017-05-07 10:59:12 +0100
committerAlex Merry2017-05-07 11:01:44 +0100
commitf4780b1b3bb2345cb6265a57d01b3384d66b53ad (patch)
tree61c071137783be604fdfeb113fe657e79cb1e818
parent48f192e824c27f865b707c576f530089906c1284 (diff)
downloadaur-f4780b1b3bb2345cb6265a57d01b3384d66b53ad.tar.gz
Update to 3.01
-rw-r--r--.SRCINFO9
-rw-r--r--PKGBUILD5
-rw-r--r--get_iplayer.install11
3 files changed, 19 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 66b5d80904d0..c40de60b15a6 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,10 +1,11 @@
# Generated by mksrcinfo v8
-# Mon May 1 17:26:38 UTC 2017
+# Sun May 7 09:59:05 UTC 2017
pkgbase = get_iplayer
pkgdesc = Allows you to download or stream any iPlayer programme from the BBC in H.264 (Quicktime/mp4) format, any radio programmes in MP3 or RealAudio format
- pkgver = 3.00
+ pkgver = 3.01
pkgrel = 1
url = http://www.infradead.org/get_iplayer/html/get_iplayer.html
+ install = get_iplayer.install
arch = any
license = GPL3
depends = perl>=5.10.1
@@ -16,8 +17,8 @@ pkgbase = get_iplayer
optdepends = ffmpeg: convert flash (flv) files
optdepends = atomicparsley: add tags to MP4 files
optdepends = perl-mojolicious: significantly faster index updates
- source = https://github.com/get-iplayer/get_iplayer/archive/v3.00.tar.gz
- md5sums = bda6e2e49f04e6eec50a46061a477729
+ source = https://github.com/get-iplayer/get_iplayer/archive/v3.01.tar.gz
+ md5sums = ac7e6f029e645abc990f540335549e96
pkgname = get_iplayer
diff --git a/PKGBUILD b/PKGBUILD
index be7ccc972463..ff11287df950 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Alex Merry <dev@randomguy3.me.uk>
pkgname=get_iplayer
-pkgver=3.00
+pkgver=3.01
pkgrel=1
pkgdesc="Allows you to download or stream any iPlayer programme from the BBC in H.264 (Quicktime/mp4) format, any radio programmes in MP3 or RealAudio format"
arch=('any')
@@ -18,8 +18,9 @@ optdepends=(
'ffmpeg: convert flash (flv) files'
'atomicparsley: add tags to MP4 files'
'perl-mojolicious: significantly faster index updates')
+install=get_iplayer.install
source=(https://github.com/get-iplayer/get_iplayer/archive/v${pkgver}.tar.gz)
-md5sums=('bda6e2e49f04e6eec50a46061a477729')
+md5sums=('ac7e6f029e645abc990f540335549e96')
package() {
cd "$srcdir/$pkgname-$pkgver"
diff --git a/get_iplayer.install b/get_iplayer.install
new file mode 100644
index 000000000000..c262e40ec0d9
--- /dev/null
+++ b/get_iplayer.install
@@ -0,0 +1,11 @@
+post_upgrade() {
+ if (( $(vercmp $2 3.00) < 0 )); then
+ echo 'You should consider doing a full cache rebuild:'
+ echo
+ echo ' get_iplayer --cache-rebuild --type=tv,radio'
+ echo
+ echo ' This may take 15 minutes or more. You can reduce this by filtering'
+ echo ' the channels that get_iplayer caches. See the get_iplayer'
+ echo ' documentation for more information.'
+ fi
+}