summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c0e84d34da5e78d2c85925114993647285395d30 (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
# Maintainer: Wisker <TheWisker@protonmail.com>
pkgname=web-greeter-theme-shikai
pkgbase=web-greeter-theme-shikai
pkgver=v1.5.3
pkgrel=1
pkgdesc="Modern lightdm webkit2 theme"
arch=('any')
url="https://github.com/TheWisker/Shikai"
license=('GPL')
depends=('lightdm' 'web-greeter')
makedepends=('git')
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=('git+https://github.com/TheWisker/Shikai')
noextract=()
sha256sums=('SKIP')

package() {
  cd "$srcdir/Shikai"
  cd ./dist
  sed -i 's/window.__is_debug = true/window.__is_debug = false/' index.html
  sed -i 's/window.__is_debug = true/window.__is_debug = false/' monitor.html
  cd ../
  mkdir -p "$pkgdir/usr/share/web-greeter/themes"
  cp -r ./dist "$pkgdir/usr/share/web-greeter/themes/shikai"
}