summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c1f17225d22162455796524912c0fd1b39de8289 (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
### Maintainer: Gabriel Ibáñez <isseigx at protonmail dot ch>
_theme='simplicity'
_repo='simplicity-sddm-theme'

pkgname=simplicity-sddm-theme-git
pkgver=r80
pkgrel=1
pkgdesc="Simple SDDM Theme"
arch=('any')
url="https://gitlab.com/isseigx/simplicity-sddm-theme"
license=('GPL')

depends=('sddm' 'qt5-quickcontrols2')
makedepends=('git')
provides=("${_repo}")
conflicts=("${_repo}")

source=("git+${url}.git")
md5sums=('SKIP')

pkgver() {
    cd "$_repo"
    printf "r%s" "$(git rev-list --count HEAD)"
}

package() {
  install -d "${pkgdir}"/usr/share/sddm/themes/"${_theme}"
  cp -r "${srcdir}/${_repo}/${_theme}"/* "${pkgdir}"/usr/share/sddm/themes/"${_theme}"/ --preserve=mode
}