blob: f4666ee742af9e1bea6fd524c8276aa8e5343d7d (
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
|
# Maintainer: Hezekiah Michael <spiritomb@protonmail.com>
_pkgname=rose-pine-alacritty
pkgname=$_pkgname-git
pkgver=r25.7c3625f
pkgrel=2
pkgdesc="Dark and light themes for alacritty with all-natural pine, faux fur and a bit of soho vibes for the classy minimalist."
arch=('any')
url="https://rosepinetheme.com"
license=('MIT')
makedepends=('git')
optdepends=('alacritty')
provides=("$_pkgname")
conflicts=("$_pkgname")
source=("$_pkgname::git+https://github.com/rose-pine/alacritty.git")
b2sums=('SKIP')
pkgver() {
cd $_pkgname
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
cd $_pkgname/dist
# shellcheck disable=SC2154
install -Dm644 -t "$pkgdir"/usr/share/alacritty rose-pine.yml
install -Dm644 -t "$pkgdir"/usr/share/alacritty rose-pine-dawn.yml
install -Dm644 -t "$pkgdir"/usr/share/alacritty rose-pine-moon.yml
}
|