blob: 6d8bb6dbd3c47a730215e79db68b2a49d2bc7847 (
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
34
35
36
37
38
|
# Maintainer: Wisker <TheWisker@protonmail.com>
pkgname=web-greeter-theme-shikai-git
pkgbase=web-greeter-theme-shikai-git
pkgver=v1.5.3
pkgrel=2
pkgdesc="Modern lightdm webkit2 theme"
arch=('any')
url="https://github.com/TheWisker/Shikai"
license=('GPL3')
depends=('lightdm' 'web-greeter')
makedepends=('git')
optdepends=()
provides=()
conflicts=("${pkgname%-git}")
replaces=()
backup=()
options=()
install=
changelog=
source=("git+$url.git")
noextract=()
sha256sums=('SKIP')
pkgver() {
echo "$pkgver.r$pkgrel"
}
build() {
cd "$srcdir/Shikai/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
}
package() {
mkdir -p "$pkgdir/usr/share/web-greeter/themes"
cp -r "$srcdir/Shikai/dist" "$pkgdir/usr/share/web-greeter/themes/shikai"
}
|