Add Session Manager to Repo PKGBUILD's
This commit is contained in:
parent
da1c4a92dc
commit
fb31bb96a4
44
x86_64/cbsh-session-manager/PKGBUILD
Normal file
44
x86_64/cbsh-session-manager/PKGBUILD
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
# Maintainer: Cameron Miller <cameron@codecameron.dev>
|
||||
pkgname=cbsh-session-manager
|
||||
_pkgname=cbsh-session-manager
|
||||
pkgver=1.0.r9.5bd8cb0
|
||||
pkgrel=1
|
||||
epoch=
|
||||
pkgdesc="A Basic Session Manager Specific for CBSH"
|
||||
arch=('x86_64')
|
||||
url="https://www.gitlab.com/cbsh/cbsh-session-manager.git"
|
||||
license=('GPL3')
|
||||
groups=()
|
||||
depends=(python-gobject gtk3)
|
||||
makedepends=(git)
|
||||
checkdepends=()
|
||||
optdepends=()
|
||||
provides=(cbsh-session-manager)
|
||||
conflicts=()
|
||||
replaces=()
|
||||
backup=()
|
||||
options=()
|
||||
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)"
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "${_pkgname}"
|
||||
python -m build --wheel --no-isolation
|
||||
}
|
||||
|
||||
package() {
|
||||
cd cbsh-session-manager
|
||||
python -m installer --destdir="$pkgdir" dist/*.whl
|
||||
|
||||
install -Dm775 cbsh-session-manager "${pkgdir}/usr/local/bin/cbsh-session-manager"
|
||||
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
||||
install -Dm644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md"
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user