summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9e476a6cd9c77273f7dd543804a21d56f58bd0bd (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: cyqsimon <28627918+cyqsimon@users.noreply.github.com>
pkgname=where-is-my-sddm-theme-git
_pkgname=${pkgname%-git}
pkgver=1.7.0.r1.g142d7d9
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-declarative" "sddm")
makedepends=("git")
provides=("$_pkgname")
conflicts=("$_pkgname")
source=("$_pkgname::git+$url.git#branch=main")
sha256sums=('SKIP')

pkgver() {
    cd "$_pkgname"
    git describe --long --tags --abbrev=7 | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}

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
}