# Maintainer: Valeria Fadeeva <valeria@fadeeva.me>

pkgname='melawy-plymouth-theme-hard-install-nier-a2'
pkgver=1.0
pkgrel=1
pkgdesc='Liveuser specific plymouth theme hard install Nier A2 for Melawy Linux'
arch=('any')
url='https://git.melawy.ru/Melawy-Linux'
license=('AGPL3')
source=()
depends=('melawy-plymouth-theme-nier-a2')

install=ins.install

package() {
    echo -e "[Daemon]\nTheme=melawy-nier-a2\nDeviceScale=1\nDeviceTimeout=8\nShowDelay=0" > "${srcdir}/plymouthd.melawy-nier-a2"
    install -Dm644 "${srcdir}/plymouthd.melawy-nier-a2" "${pkgdir}/usr/share/plymouth/plymouthd.melawy-nier-a2"
}
