Package Details: gnome-shell-extension-fullscreen-notifications-git 4-1

Git Clone URL: https://aur.archlinux.org/gnome-shell-extension-fullscreen-notifications-git.git (read-only, click to copy)
Package Base: gnome-shell-extension-fullscreen-notifications-git
Description: Extension that enables all notifications in fullscreen mode
Upstream URL: https://github.com/soal/gnome-shell-extension-fullscreen-notifications
Licenses: GPL2
Submitter: amongus
Maintainer: amongus
Last Packager: amongus
Votes: 2
Popularity: 0.000042
First Submitted: 2021-05-01 04:49 (UTC)
Last Updated: 2021-05-01 04:49 (UTC)

Latest Comments

escape0707 commented on 2023-05-08 10:34 (UTC) (edited on 2023-05-08 10:36 (UTC) by escape0707)

Please consider the following patch. Also, LICENSE does not need to be installed as it's GPL2 and comes with licenses package.

diff --git a/.SRCINFO b/.SRCINFO
index 05270e7..91c222b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
 pkgbase = gnome-shell-extension-fullscreen-notifications-git
    pkgdesc = Extension that enables all notifications in fullscreen mode
-   pkgver = 4
+   pkgver = r20.88c349b
    pkgrel = 1
    url = https://github.com/soal/gnome-shell-extension-fullscreen-notifications
    arch = any
@@ -11,4 +11,3 @@ pkgbase = gnome-shell-extension-fullscreen-notifications-git
    md5sums = SKIP

 pkgname = gnome-shell-extension-fullscreen-notifications-git
-
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..018a3de
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+*
+!PKGBUILD
+!.SRCINFO
+!.gitignore
diff --git a/PKGBUILD b/PKGBUILD
index ed2abc4..42fd360 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,23 +1,24 @@
 # Maintainer Crewmate <sus@morshu.xyz>
+
+_uuid=fullscreen-notifications@sorrow.about.alice.pm.me
 pkgname=gnome-shell-extension-fullscreen-notifications-git
-_pkgname=gnome-shell-extension-fullscreen-notifications
-pkgver=4
+pkgver=r20.88c349b
 pkgrel=1
 pkgdesc="Extension that enables all notifications in fullscreen mode"
 arch=('any')
 url="https://github.com/soal/gnome-shell-extension-fullscreen-notifications"
+_gitn="${url##*/}"
 license=(GPL2)
 depends=('gnome-shell')
 makedepends=('git')
-source=("git+https://github.com/soal/gnome-shell-extension-fullscreen-notifications")
+source=("git+$url")
 md5sums=('SKIP')

-build() {
-  return 0
+pkgver() {
+  cd $_gitn
+  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)"
 }

 package() {
-  install -d "$pkgdir/usr/share/gnome-shell/extensions"
-  cp -r $srcdir/$_pkgname/fullscreen-notifications@sorrow.about.alice.pm.me $pkgdir/usr/share/gnome-shell/extensions/
-  install -Dm644 $srcdir/$_pkgname/LICENSE -t "$pkgdir/usr/share/licenses/${pkgname%-git}"
+  install -Dm644 -t "$pkgdir/usr/share/gnome-shell/extensions/$_uuid" $_gitn/$_uuid/{extension.js,metadata.json} 
 }

If you don't want to maintain it anymore, I'd like to continue the maintenance.

ewout commented on 2022-12-18 20:37 (UTC)

Please calculate the pkgver based on git data.