first commit

This commit is contained in:
vincent 2020-11-07 09:12:43 +01:00
commit 8abcac2b67
4 changed files with 76 additions and 0 deletions

19
.SRCINFO Normal file
View File

@ -0,0 +1,19 @@
pkgbase = gnome-shell-extension-pop-shell
pkgdesc = Pop Shell - Tiling window management in Gnome (WIP)
pkgver = 1.0.0
pkgrel = 1
url = https://github.com/pop-os/shell
install = pop-shell.install
arch = any
license = GPLv3
makedepends = typescript
makedepends = git
depends = gnome-shell
depends = pop-shell-shortcuts-git
optdepends = gnome-shell-extensions: native-window extension for improved window placement
conflicts = gnome-shell-extension-pop-shell
source = shell-1.0.0.tar.gz::https://github.com/pop-os/shell/archive/1.0.0.tar.gz
sha256sums = SKIP
pkgname = gnome-shell-extension-pop-shell

6
.gitignore vendored Normal file
View File

@ -0,0 +1,6 @@
*.tar.gz
*.pkg.tar.zst
pkg/
src/
shell/

34
PKGBUILD Normal file
View File

@ -0,0 +1,34 @@
# Maintainer: Vincent.Ducamps <aur@ducamps.win>
pkgname=gnome-shell-extension-pop-shell
pkgdesc="Pop Shell - Tiling window management in Gnome (WIP)"
pkgver=1.0.0
pkgrel=1
_gitorg=pop-os
_gitname=shell
arch=(any)
url="https://github.com/pop-os/shell"
license=("GPLv3")
install="pop-shell.install"
optdepends=('gnome-shell-extensions: native-window extension for improved window placement')
conflicts=("gnome-shell-extension-pop-shell")
makedepends=("typescript" "git")
depends=("gnome-shell" "pop-shell-shortcuts-git")
_dir="${_gitname}-${pkgver}"
source=("${_dir}.tar.gz::https://github.com/${_gitorg}/${_gitname}/archive/${pkgver}.tar.gz")
sha256sums=("SKIP")
build() {
cd "${srcdir}/${_dir}"
make all
}
package() {
cd "${srcdir}/${_dir}"
make DESTDIR="${pkgdir}/" install
install -Dm755 scripts/configure.sh "${pkgdir}/usr/share/gnome-shell/extensions/pop-shell@system76.com/scripts/configure.sh"
}

17
pop-shell.install Executable file
View File

@ -0,0 +1,17 @@
post_install() {
echo "POP-shell configuration"
echo "to configure POP-shell keybinding on user session"
echo "launch Script: /usr/share/gnome-shell/extensions/pop-shell@system76.com/scripts/configure.sh"
}
post_upgrade() {
post_install
}
post_remove() {
echo "to complete uninstalation reset keybinding in parameter pannel"
}