greetd-tlgreet/PKGBUILD

38 lines
1.0 KiB
Bash

# Maintainer: David Thurstenson <thurstylark@gmail.com>
pkgname=greetd-tlgreet
pkgver=0.2
pkgrel=2
pkgdesc="Thurstylark's greetd + wlgreet setup"
arch=(any)
url="https://git.thurstylark.com/greetd-tlgreet.git/"
license=('GPL')
depends=(greetd greetd-wlgreet sway waybar)
source=("greetd.toml"
"sway-wlgreet.conf"
"wlgreet.toml"
"waybar.conf"
"waybar.css"
"greetd.service.override.conf")
md5sums=('db675a996223c3f155885d7494b16282'
'947b0d773955b10946d4da82d74f0fc4'
'4c1b6e5dff4071bff81e935322743974'
'bfdda1ad67829fd55d3612c857df18dc'
'0b3156d2868912d8b4141428b72b4bbe'
'6ee23a02a919d6a28f36d3627f3c6960')
package() {
install -Dm644 ${srcdir}/greetd.service.override.conf \
${pkgdir}/etc/systemd/system/greetd.service.d/override.conf
for i in \
greetd.toml \
sway-wlgreet.conf \
wlgreet.toml \
waybar.conf \
waybar.css
do
install -Dm644 ${srcdir}/${i} ${pkgdir}/etc/greetd/tlgreet/${i}
done
install -dm755 ${pkgdir}/etc/greetd/tlgreet/wallpapers/
}