blob: 628413d832206b6759a374e080ab809bc26a8207 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# Maintainer: Dotz0cat <Dotz0cat@gmail.com>
pkgname=webscreensaver-git
pkgver=r73.507c984
pkgrel=1
pkgdesc="Use any web page as your screensaver"
arch=('any')
url="https://github.com/lmartinking/webscreensaver"
license=('GPL2')
provides=('webscreensaver')
conflicts=('webscreensaver')
depends=('webkit2gtk' 'gtk3' 'python')
optdepends=('xscreensaver: run with xscreensaver'
'xfce4-screensaver: run under xfce4')
makedepends=('git')
source=("${pkgname}::git+https://github.com/lmartinking/webscreensaver.git")
md5sums=('SKIP')
pkgver() {
cd "$srcdir/${pkgname}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
cd "$srcdir/${pkgname}"
install -Dm755 webscreensaver "${pkgdir}/usr/lib/xscreensaver/webscreensaver"
install -Dm755 webscreensaver.desktop "${pkgdir}/usr/share/applications/screensavers/webscreensaver.desktop"
}
|