summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorgraysky2021-05-01 12:23:09 -0400
committergraysky2021-05-01 12:23:09 -0400
commit61159c588664543d70c0c5b9cc27d458dd32f152 (patch)
tree65935a79d13b7c4212fd3c423ccf8d9157545ca8
parentf4509efd23451fce941ca5452451d156f8c5b23f (diff)
downloadaur-61159c588664543d70c0c5b9cc27d458dd32f152.tar.gz
Update to 1.20-1
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD12
-rw-r--r--readme.install31
3 files changed, 28 insertions, 23 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 4d7313df443..1bfbf803332 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,18 +1,18 @@
pkgbase = xscreensaver-aerial
pkgdesc = xscreensaver hack that randomly selects one of the Apple TV4 HD aerial movies
- pkgver = 1.11
+ pkgver = 1.20
pkgrel = 1
url = https://github.com/graysky2/xscreensaver-aerial
install = readme.install
arch = any
license = MIT
depends = xscreensaver
- depends = mpv
+ depends = mplayer
depends = wget
optdepends = aerial-2k-videos: pre-downloaded videos to save bandwidth
optdepends = aerial-4k-videos: pre-downloaded videos to save bandwidth
- source = https://github.com/graysky2/xscreensaver-aerial/archive/v1.11.tar.gz
- sha256sums = 8a2f6ccf57429203995a75db218dc22a5924786c5d05af5cdf86c01038e9795a
+ source = https://github.com/graysky2/xscreensaver-aerial/archive/v1.20.tar.gz
+ b2sums = 4f25e7f66fdd272a67ef292dc1cc249a2e64f3c08580d67f0d3aed9530661ad7891587f4f9347ea31a75e5fe39191e15c20d6a5008a625d4eb59df7c404149dd
pkgname = xscreensaver-aerial
diff --git a/PKGBUILD b/PKGBUILD
index a515aba13e6..03dacfdca17 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,20 +1,20 @@
# Maintainer: graysky <graysky AT archlinux DOT us>
-pkgname='xscreensaver-aerial'
-pkgver=1.11
+pkgname=xscreensaver-aerial
+pkgver=1.20
pkgrel=1
-arch=('any')
+arch=(any)
url="https://github.com/graysky2/xscreensaver-aerial"
-license=('MIT')
+license=(MIT)
pkgdesc='xscreensaver hack that randomly selects one of the Apple TV4 HD aerial movies'
-depends=('xscreensaver' 'mpv' 'wget')
+depends=(xscreensaver mplayer wget)
optdepends=(
'aerial-2k-videos: pre-downloaded videos to save bandwidth'
'aerial-4k-videos: pre-downloaded videos to save bandwidth'
)
install=readme.install
source=("https://github.com/graysky2/xscreensaver-aerial/archive/v$pkgver.tar.gz")
-sha256sums=('8a2f6ccf57429203995a75db218dc22a5924786c5d05af5cdf86c01038e9795a')
+b2sums=('4f25e7f66fdd272a67ef292dc1cc249a2e64f3c08580d67f0d3aed9530661ad7891587f4f9347ea31a75e5fe39191e15c20d6a5008a625d4eb59df7c404149dd')
package() {
cd "$pkgname-$pkgver"
diff --git a/readme.install b/readme.install
index d6f57a4da8e..5d450c7d996 100644
--- a/readme.install
+++ b/readme.install
@@ -1,21 +1,26 @@
post_install() {
- echo '------------------------------------------------------------------------------------'
- echo ' You must edit ~/.xscreensaver to add support for this screensaver'
- echo ' Find the line "programs:" and simply add the following below it:'
- echo ' "ATV4-2k" atv4-2k \n\'
- echo ' "ATV4-4k" atv4-4k \n\'
- echo '------------------------------------------------------------------------------------'
+ cat <<END
+
+>>> You must edit ~/.xscreensaver to add support for this screensaver
+ Find the line "programs:" and simply add the following below it:
+ "ATV4-2k" atv4-2k \\n\\
+ "ATV4-4k" atv4-4k \\n\\
+
+END
}
post_upgrade() {
if [[ "$(vercmp $2 1.09)" -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} for 2k and'
- echo ' in $XDG_CONFIG_HOME/.atv4-{day,night}-4k for 4k.'
- echo '------------------------------------------------------------------------------------'
+ cat <<END
+
+>>> You must manually delete your day and night databases or wait for all videos
+ to cycle for the rebuild. New videos will be unavailable until either of
+ these happen.
+
+ Hint: the databases reside in \$XDG_CONFIG_HOME/.atv4-{day,night} for 2k and
+ in \$XDG_CONFIG_HOME/.atv4-{day,night}-4k for 4k.
+
+END
fi
}