add alacritty config
This commit is contained in:
parent
be144fb159
commit
f7d8bfc10f
32
x86_64/alacritty/PKGBUILD
Normal file
32
x86_64/alacritty/PKGBUILD
Normal 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"
|
||||||
|
}
|
||||||
9
x86_64/alacritty/alacritty-cbsh.install
Normal file
9
x86_64/alacritty/alacritty-cbsh.install
Normal 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
|
||||||
|
}
|
||||||
|
|
@ -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 "###########################################################"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user