commit 8abcac2b67d4d1d8eac5eee7e331d5c4ad3a75dc Author: vincent Date: Sat Nov 7 09:12:43 2020 +0100 first commit diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 0000000..f3fbf34 --- /dev/null +++ b/.SRCINFO @@ -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 + diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b246d59 --- /dev/null +++ b/.gitignore @@ -0,0 +1,6 @@ +*.tar.gz +*.pkg.tar.zst +pkg/ +src/ +shell/ + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..752ab27 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,34 @@ +# Maintainer: Vincent.Ducamps +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" +} + diff --git a/pop-shell.install b/pop-shell.install new file mode 100755 index 0000000..724ea93 --- /dev/null +++ b/pop-shell.install @@ -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" + +} \ No newline at end of file