summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: efd5422c33906978a7ffd52b53339971d388f19a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Maintainer: Guillaume Boehm <aur@mail.gboehm.com>
pkgname="simple-sddm-theme-git"
_gitname="simple-sddm"
pkgver=r13.6888ccc
pkgrel=1
epoch=
pkgdesc="A Simple theme variant for the SDDM Login Manager"
arch=('any')
url="https://github.com/JaKooLit/${_gitname}"
license=(LGPL2 GPL3)
groups=()
depends=('qt5-graphicaleffects' 'qt5-quickcontrols2' 'qt5-svg' 'sddm')
makedepends=(git)
optdepends=()
provides=()
conflicts=()
backup=("usr/share/sddm/themes/${_gitname}/theme.conf")
source=("git+https://github.com/JaKooLit/${_gitname}")
sha256sums=('SKIP')

pkgver() {
	cd "${srcdir}/${_gitname}"
	printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

package() {
	cd "${srcdir}"
	mkdir -p "${pkgdir}/usr/share/sddm/themes/"
	cp -r "${_gitname}/" "${pkgdir}/usr/share/sddm/themes/"
}