blob: 3daf033fc3981d79aa4d5241f883fa51235a2a5e (
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
29
30
31
32
33
|
# Maintainer: mynacol <paul àt dismail _ de>
pkgname=theme-switcher-git
pkgver=0.2
pkgrel=1
pkgdesc="Switching between light and dark themes made easy"
arch=('any')
url="https://aur.archlinux.org/packages/${pkgname}/"
license=('GPL')
depends=('sh' # script interpreter
'glib2' # provides gsettings
'grep' # regex matching in conditionals
'sed' # editing config files
'jq' # editing JSON config files
'moreutils' # provides sponge
)
optdepends=(
'xfce4-settings: for GTK switching under Xorg'
'qt5ct: for Qt5 switching. Additional setup required.'
'adwaita-qt: Qt5 theme'
'feh: for setting wallpaper under Xorg'
'swaybg: for setting wallpaper in sway'
)
makedepends=('coreutils')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=('dark-theme.sh')
sha256sums=('SKIP')
package() {
cd "$srcdir"
install -Dm755 dark-theme.sh "$pkgdir/usr/bin/${pkgname%-git}"
}
|