blob: 7cbf51583bc93bccc760f8f66975aa001ab2e543 (
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
32
33
|
# Maintainer: Evan Purkhiser <evanpurkhiser@gmail.com>
_pkgname=mkinitcpio-colors
pkgname=${_pkgname}-git
pkgdesc="mkinitcpio hook to set VT console colors during early userspace"
license=('MIT')
url="https://github.com/evanpurkhiser/${_pkgname}"
pkgver=11.ac5765f
pkgrel=1
source=("$pkgname::git+$url.git")
md5sums=('SKIP')
install="usage.install"
depends=('mkinitcpio' 'setcolors-git')
makedepends=('git')
arch=('any')
pkgver() {
cd "$srcdir/$pkgname"
echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
}
package() {
cd "$srcdir/$pkgname"
install -Dm 644 hooks/colors "${pkgdir}/usr/lib/initcpio/hooks/colors"
install -Dm 644 install/colors "${pkgdir}/usr/lib/initcpio/install/colors"
install -Dm 644 install/sd-colors "${pkgdir}/usr/lib/initcpio/install/sd-colors"
install -Dm 644 setcolors.service "${pkgdir}/usr/lib/systemd/system/setcolors.service"
install -Dm 644 "LICENSE" "${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE"
}
|