tarch-sddm-theme-corners/PKGBUILD
2024-02-24 10:55:34 +03:00

41 lines
861 B
Bash

pkgname=tarch-sddm-theme-corners
pkgver=1
pkgrel=1
pkgdesc="Theme for SDDM that puts stuff on the corners of the screen, for Tarch OS."
arch=("any")
url="https://github.com/aczw/sddm-theme-corners"
license=("GPL3")
depends=(
"sddm"
"qt5-graphicaleffects"
"qt5-svg"
"qt5-quickcontrols2"
)
makedepends=("git")
backup=("usr/share/sddm/themes/corners/theme.conf")
source=("git+https://github.com/aczw/sddm-theme-corners.git")
sha256sums=("SKIP")
conflicts=(
"sddm-theme-corners-git"
"sddm-theme-corners"
)
provides=(
"sddm-theme-corners-git"
"sddm-theme-corners"
)
pkgver() {
cd "${srcdir}/sddm-theme-corners"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
cd "${srcdir}/sddm-theme-corners"
mkdir -p "${pkgdir}/usr/share/sddm/themes/"
cp -r corners/ "${pkgdir}/usr/share/sddm/themes/"
}