update packages

This commit is contained in:
Cameron Miller
2021-12-06 10:49:57 +00:00
parent bdaaed065c
commit 834e3337cd
10 changed files with 60 additions and 10 deletions

View File

@@ -0,0 +1,42 @@
# Maintainer: Cameron Miller <cameron@codecameron.dev>
pkgname=cbsh-sddm-theme
pkgver=1.0.r16.02877ad
pkgrel=1
epoch=
pkgdesc="The Default SDDM Theme for CBSH."
arch=('x86_64')
url="https://www.gitlab.com/cabooshyy/cbsh-sddm-theme.git"
license=('GPL3')
groups=()
depends=(sddm)
makedepends=(git)
checkdepends=()
optdepends=()
provides=(cbsh-sddm-theme)
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-sddm-theme
sudo rm -rf ${pkgdir}/${pkgname}/opt/${pkgname}
mkdir ${pkgdir}/opt/
mkdir ${pkgdir}/opt/${pkgname}
cp -rf ${srcdir}/${pkgname}/opt/${pkgname} ${pkgdir}/opt/
# install -D * /opt/${pkgname}
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 were placed /etc/cbsh/cbsh-sddm-theme ##"
echo -e "########################################################"
}
post_upgrade() {
post_install
}