add pikaur helper
This commit is contained in:
38
x86_64/alacritty-cbsh/PKGBUILD
Normal file
38
x86_64/alacritty-cbsh/PKGBUILD
Normal file
@@ -0,0 +1,38 @@
|
||||
# Maintainer: Cameron Miller <cameron@codecameron.dev>
|
||||
pkgname=alacritty-cbsh
|
||||
_pkgname=cbsh-configs
|
||||
pkgver=1.0.r11.a244d57
|
||||
pkgrel=1
|
||||
epoch=
|
||||
pkgdesc="The Default Alacritty Config for CBSH."
|
||||
arch=('x86_64')
|
||||
url="https://www.gitlab.com/cabooshyy/cbsh-configs.git"
|
||||
license=('GPL3')
|
||||
groups=()
|
||||
depends=(alacritty)
|
||||
makedepends=(git)
|
||||
checkdepends=()
|
||||
optdepends=()
|
||||
provides=(alacritty-cbsh)
|
||||
conflicts=()
|
||||
replaces=()
|
||||
backup=()
|
||||
options=()
|
||||
install=${pkgname}.install
|
||||
changelog=
|
||||
source=("git+$url")
|
||||
noextract=()
|
||||
md5sums=('SKIP')
|
||||
validpgpkeys=()
|
||||
|
||||
pkgver() {
|
||||
cd "${_pkgname}"
|
||||
printf "1.0.r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
||||
}
|
||||
|
||||
package() {
|
||||
cd cbsh-configs
|
||||
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-cbsh/alacritty-cbsh.install
Normal file
9
x86_64/alacritty-cbsh/alacritty-cbsh.install
Normal file
@@ -0,0 +1,9 @@
|
||||
post_install() {
|
||||
echo -e "##########################################################"
|
||||
echo -e "## Config files were placed /etc/cbsh/.config/alacritty ##"
|
||||
echo -e "##########################################################"
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
post_install
|
||||
}
|
||||
Reference in New Issue
Block a user