blob: 3898c2fec04e3d17f494dc37782e12fc3c5df8c9 (
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
|
# Maintainer: Catppuccin <releases@catppuccin.com>
pkgname=refind-theme-catppuccin-git
pkgver=r10.ff0b593
pkgrel=1
pkgdesc="Catppuccin - Soothing pastel theme for rEFInd"
arch=('any')
url="https://github.com/catppuccin/refind"
license=('MIT')
depends=('refind')
makedepends=('git')
source=("${pkgname}::git+https://github.com/catppuccin/refind.git")
sha256sums=('SKIP')
install=$pkgname.install
pkgver() {
cd "$pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
cd "$pkgname"
_theme_dir="usr/share/refind/themes/catppuccin"
install -D -m0644 -t "${pkgdir}/${_theme_dir}/" *.conf
find assets -type f -iname *.png -exec install -D -m0644 {} "${pkgdir}/${_theme_dir}/{}" \;
# docs
install -D -m0644 -t "${pkgdir}/usr/share/doc/${pkgname}" README.md
}
|