feat: sddm-rose-pine-git

This commit is contained in:
punkfairie 2024-11-23 16:13:42 -08:00
commit 04df985a90
Signed by: punkfairie
GPG key ID: A509E8F77FB9D696

View file

@ -0,0 +1,28 @@
# Maintainer: Marley Rae <marley@punkfairie.net>
_pkgbase="sddm-rose-pine"
pkgname="$_pkgbase-git"
pkgver=r27.e873505
pkgrel=1
pkgdesc="This is a customized version of the Sugar Dark Theme with colors from the Rose Pine palette."
arch=('any')
url="https://github.com/lwndhrst/sddm-rose-pine"
license=('GPL3')
depends=('sddm' 'qt5-quickcontrols2' 'qt5-svg' 'qt5-graphicaleffects')
makedepends=('git')
provides=("$_pkgbase")
conflicts=("$_pkgbase")
backup=('usr/share/sddm/themes/rose-pine/theme.conf')
source=('git+https://github.com/lwndhrst/sddm-rose-pine')
sha256sums=('SKIP')
pkgver() {
cd "${srcdir}/sddm-rose-pine"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
cd "${srcdir}"
mkdir -p "${pkgdir}/usr/share/sddm/themes/rose-pine/"
cp -R "sddm-rose-pine/." "${pkgdir}/usr/share/sddm/themes/rose-pine"
}