diff options
author | Alex | 2021-06-01 17:50:08 +0200 |
---|---|---|
committer | Alex | 2021-06-01 17:50:08 +0200 |
commit | 01aaf454d0a1858c823c8edf24dea2a748ec9546 (patch) | |
tree | 3cd43ed0729c5fa3aaeacd599f321b1a5b330f06 | |
parent | 6c3fc139a1142b54c816dbcb08ad342b20cb1b61 (diff) | |
download | aur-01aaf454d0a1858c823c8edf24dea2a748ec9546.tar.gz |
Update to v30
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | PKGBUILD | 18 |
2 files changed, 16 insertions, 10 deletions
@@ -1,13 +1,13 @@ pkgbase = gnome-shell-extension-shutdowntimer pkgdesc = Shutdown your device after a specific time. This extension adds a submenu to the status area. - pkgver = 21 + pkgver = v30 pkgrel = 1 - url = https://github.com/neumann89/ShutdownTimer + url = https://github.com/neumann-d/ShutdownTimer arch = any license = unknow depends = gnome-shell - source = git+https://github.com/neumann89/ShutdownTimer.git + conflicts = gnome-shell-extension-shutdowntimer-git + source = git+https://github.com/neumann-d/ShutdownTimer.git sha256sums = SKIP pkgname = gnome-shell-extension-shutdowntimer - @@ -1,18 +1,24 @@ # Maintainer: Alex S. shantanna_at_hotmail_dot_com> pkgname=gnome-shell-extension-shutdowntimer -pkgver=21 +pkgver=v30 pkgrel=1 pkgdesc="Shutdown your device after a specific time. This extension adds a submenu to the status area." arch=('any') -url="https://github.com/neumann89/ShutdownTimer" +url="https://github.com/neumann-d/ShutdownTimer" license=('unknow') +conflicts=('gnome-shell-extension-shutdowntimer-git') depends=('gnome-shell') -source=("git+https://github.com/neumann89/ShutdownTimer.git") +source=("git+https://github.com/neumann-d/ShutdownTimer.git") sha256sums=('SKIP') +pkgver() { + cd $_pkgname + git describe --always --tags | tr '-' '_' +} + package() { - cd "${srcdir}/ShutdownTimer" - mkdir -p "${pkgdir}/usr/share/gnome-shell/extensions/" - cp -af "ShutdownTimer@neumann" "${pkgdir}/usr/share/gnome-shell/extensions/" + cd "${srcdir}/ShutdownTimer" + mkdir -p "${pkgdir}/usr/share/gnome-shell/extensions/" + cp -af "ShutdownTimer@neumann" "${pkgdir}/usr/share/gnome-shell/extensions/" } |