# Maintainer: Cameron Miller pkgname=cbsh-macs _pkgname=cbshmacs-config pkgver=1.0.r12.a90b95c pkgrel=1 epoch= pkgdesc="CBSHMacs is the New Emacs Configuration for CBSH" arch=('x86_64') url="https://gitlab.com/cbsh/cbshmacs-config.git" license=('GPL3') groups=() depends=(emacs) makedepends=(git) checkdepends=() optdepends=() provides=(cbsh-macs) 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 cbshmacs-config sudo rm -rf /etc/cbsh/.config/cbsh-macs/ install -d ${pkgdir}/etc/cbsh/.config/cbsh-macs/ cp -r ${srcdir}/${_pkgname}/ ${pkgdir}/etc/cbsh/.config/cbsh-macs install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" install -Dm644 README.org "${pkgdir}/usr/share/doc/${pkgname}/Readme.org" }