blob: 831ba77ef42ce3623fd5eb7bb4b4a6044db0cf50 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
# Maintainer: Aaron Ali <t0nedef@causal.ca>
pkgname=space-bg
pkgver=2.0.9
pkgrel=4
pkgdesc="A background image setting program that grabs the daily astronomy image (http://apod.nasa.gov/apod/astropix.html)"
arch=('any')
license=('GPL')
url='http://github.com/t0nedef/space-bg'
groups=()
depends=('hsetroot' 'python-beautifulsoup4' 'libnotify' 'wget' 'youtube-dl' 'mplayer' 'vimeo-dl-git' 'imagemagick')
source=("https://github.com/t0nedef/space-bg/archive/${pkgver}.tar.gz")
package()
{
cd ${srcdir}/${pkgname}-${pkgver}
install -Dm755 spacesetbg ${pkgdir}/usr/bin/spacesetbg
install -Dm755 spacevideo.sh ${pkgdir}/usr/bin/spacevideo.sh
install -Dm644 spaceimg.py ${pkgdir}"$(/bin/python -c 'import site; print(site.getsitepackages()[0])')"/usr/lib/python3.8/site-packages/spaceimg.py
}
#
md5sums=('543c650a4c259d8ae2b0b8347c3b5893')
|