summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8976b42e38d2defd70a8ce7ab057307daeb1bb52 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: github.com/Jestar342

pkgver=0.2
pkgrel=1
pkgname=sddm-theme-redrock
pkgdesc="Redrock, a MacOS inspired SDDM theme"
url="https://github.com/astize/redrock"
arch=('any')
depends=('sddm')
source=("https://github.com/astize/redrock/archive/v${pkgver}.tar.gz")
md5sums=('4af2a10b1a131e8f0fdbf20d00d62524')
license=('CCPL:by-sa')

prepare() {
    # Case-sensitive reference to 'Components' dir in Main.qml
    mv "${srcdir}/redrock-${pkgver}/components" "${srcdir}/redrock-${pkgver}/Components"
}

package() {
    install -d "${pkgdir}"/usr/share/sddm/themes/$pkgname
    cp -r "${srcdir}/redrock-${pkgver}/" "${pkgdir}/usr/share/sddm/themes/redrock/"
}