add alacritty config

This commit is contained in:
Cabooshyy 2021-11-29 22:13:10 +00:00
parent be144fb159
commit f7d8bfc10f
3 changed files with 42 additions and 1 deletions

32
x86_64/alacritty/PKGBUILD Normal file
View File

@ -0,0 +1,32 @@
# Maintainer: Cameron Miller <cameron@codecameron.dev>
pkgname=alacritty-cbsh
_pkgname=cbsh-configs
pkgver=1.0
pkgrel=1
pkgdesc="The Default Alacritty Config file for CBSH"
arch=(x86_64)
url="https://www.gitlab.com/cabooshyy/cbsh-configs.git"
license=('MIT')
groups=()
depends=()
makedepends=('git')
provides=(alacritty-cbsh)
conflicts=()
replaces=()
backup=()
options=()
install=${pkgname}.install
source=("git+$url")
noextract=()
md5sums=('SKIP')
pkgver() {
cd "${_pkgname}"
printf "1.0.r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
install -Dm755 etc/cbsh/.config/alacritty/alacritty.yml "${pkgdir}/etc/cbsh/.config/alacritty/alacritty.yml"
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
install -Dm644 README.org "${pkgdir}/usr/share/doc/${pkgname}/README.org"
}

View File

@ -0,0 +1,9 @@
post_install() {
echo -e "#################################################################"
echo -e "##### Config Files place inside /etc/cbsh/.config/alacritty #####"
echo -e "#################################################################"
}
post_upgrade() {
post_install
}

View File

@ -1,6 +1,6 @@
post_install() { post_install() {
echo -e "###########################################################" echo -e "###########################################################"
echo -e "## The source code can be found in /opt/dmenu-distrotube ##" echo -e "##### The source code can be found in /opt/dmenu-cbsh #####"
echo -e "###########################################################" echo -e "###########################################################"
} }