blob: 5ee2842acd3aca48516ac58e4792b67a07c4bbbc (
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: Alexandre Bouvier <contact@amb.tf>
_pkgname=dracula-dircolors
pkgname=$_pkgname-git
pkgver=r11.057d179
pkgrel=1
pkgdesc="Dark theme for dircolors"
arch=('any')
url="https://draculatheme.com/dircolors"
license=('MIT')
groups=('dracula-theme')
makedepends=('git')
optdepends=('coreutils')
provides=("$_pkgname")
conflicts=("$_pkgname")
source=("$_pkgname::git+https://github.com/dracula/dircolors.git")
b2sums=('SKIP')
pkgver() {
cd $_pkgname
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
cd $_pkgname
# shellcheck disable=SC2154
install -Dm644 .dircolors "$pkgdir"/etc/DIR_COLORS.dracula
install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE
}
|