summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorgraysky2016-12-19 19:01:27 -0500
committergraysky2016-12-19 19:01:27 -0500
commitd60e2a9f3f236f757b9f66a9e3110cce8287f3f7 (patch)
treec72c6372e09a168b080f4b7c1234e5868902e198
parenteebc7080d00a6e91a3b95a1fed133f0e463fe257 (diff)
downloadaur-d60e2a9f3f236f757b9f66a9e3110cce8287f3f7.tar.gz
Update to 1.05-2
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD2
-rw-r--r--readme.install14
3 files changed, 17 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index cb32bd0dadd..cc6def11fa9 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Mon Dec 19 23:13:39 UTC 2016
+# Tue Dec 20 00:01:27 UTC 2016
pkgbase = xscreensaver-aerial
pkgdesc = xscreensaver hack that randomly selects one of the Apple TV4 HD aerial movies
pkgver = 1.05
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/graysky2/xscreensaver-aerial
install = readme.install
arch = any
diff --git a/PKGBUILD b/PKGBUILD
index 43db502c3ca..f7d8de5ad77 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname='xscreensaver-aerial'
pkgver=1.05
-pkgrel=1
+pkgrel=2
arch=('any')
url="https://github.com/graysky2/xscreensaver-aerial"
license=('MIT')
diff --git a/readme.install b/readme.install
index 4de642c48ac..63a1b87cf2d 100644
--- a/readme.install
+++ b/readme.install
@@ -5,3 +5,17 @@ post_install() {
echo ' "ATV4" atv4 \n\'
echo '------------------------------------------------------------------------------------'
}
+
+post_upgrade() {
+ # version 1.05 introduces new videos
+ if [[ "$(vercmp $2 1.05)" -lt 0 ]]; then
+ echo '------------------------------------------------------------------------------------'
+ echo ' You must manually delete your day and night databases or wait for all videos to'
+ echo ' cycle for the rebuild. New videos will be unavailable until either of these happen.'
+ echo
+ echo ' Hint: the databases reside in $XDG_CONFIG_HOME/.atv4-{day,night}'
+ echo '------------------------------------------------------------------------------------'
+ fi
+}
+
+# vim:set ts=2 sw=2 et: