pkgs/sddm-rose-pine-git/PKGBUILD

29 lines
866 B
Text
Raw Normal View History

2024-11-23 16:13:42 -08:00
# 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"
}