summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: dc6cac53f94d1af551a3f26f2c48b6fddaa55079 (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.10.0.r8.gd05f54a
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"
    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
}