blob: 1aa9312286fef1ff86588545a1e15a36f9d6cad4 (
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
31
|
# Maintainer: achref ben mbarek <kaizakia6@gmail.com>
pkgname=sddm-terminal-inspired-theme-git
pkgver=1.0.0.r0.g257ac5c
pkgrel=1
pkgdesc="Custom theme for SDDM - Gorgeous and Simple Terminal-Like"
arch=('any')
url="https://github.com/achrefbenmbarek1/terminal-inspired-sddm-theme.git"
license=('GPL3')
depends=('sddm')
makedepends=('git')
md5sums=('SKIP')
source=("${pkgname}::git+${url}")
pkgver() {
cd "${srcdir}/${pkgname}"
git describe --long --tags | sed 's/^[vV-]//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "${srcdir}/${pkgname}"
chmod +x "${srcdir}/${pkgname}/sessionsDetector.sh"
"${srcdir}/${pkgname}/sessionsDetector.sh"
}
package() {
cd "${srcdir}/${pkgname}"
install -d "${pkgdir}/usr/share/sddm/themes/terminal-inspired"
cp -r * "${pkgdir}/usr/share/sddm/themes/terminal-inspired/"
}
|