summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9909729c3682a5ab962b1cd8768df5d03ff5a122 (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: Firegem <mrfiregem [at] protonmail [dot] ch>
# Contributor: KafCoppelia <k740677208@gmail.com>

pkgname=catppuccin-fcitx5-git
pkgver=r18.3471b91
pkgrel=2
pkgdesc="Soothing pastel theme for Fcitx5"
arch=('any')
url="https://github.com/catppuccin/fcitx5"
license=('MIT')
makedepends=('git')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=("${pkgname}::git+https://github.com/catppuccin/fcitx5.git")
sha256sums=('SKIP')


pkgver() {
    cd ${srcdir}/${pkgname}
    printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}


package() {
    cd ${srcdir}/${pkgname}
    install -d ${pkgdir}/usr/share/fcitx5/themes/
    cp -r ./src/* ${pkgdir}/usr/share/fcitx5/themes/
    install -Dm 644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
}