summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3a7b7c20e8233959c73aa139d4789bdc2b20da8f (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: cyqsimon <28627918+cyqsimon@users.noreply.github.com>
pkgname=where-is-my-sddm-theme-git
_pkgname=${pkgname%-git}
epoch=1
pkgver=r105.9637154
pkgrel=1
pkgdesc='The most minimalistic SDDM theme among all themes.'
arch=("any")
url="https://github.com/stepanzubkov/where-is-my-sddm-theme"
license=("MIT")
depends=("qt6-5compat" "qt6-declarative" "sddm")
makedepends=("git")
provides=("$_pkgname")
conflicts=("$_pkgname")
source=("$_pkgname::git+$url.git#branch=main")
sha256sums=('SKIP')

pkgver() {
    cd "$_pkgname"
    printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)"
}

package() {
    cd "$_pkgname"

    mkdir -p $pkgdir/usr/share/sddm/themes
    cp -r where_is_my_sddm_theme $pkgdir/usr/share/sddm/themes/

    install -Dm644 -t $pkgdir/usr/share/licenses/$pkgname/ LICENSE
}