Skip to content

AUR Support #55

@mike-lloyd03

Description

@mike-lloyd03

Would you be interested in maintaining a package for this on the ArchLinux AUR? I've put together a simple PKGBUILD for it.

pkgname=gnome-shell-extension-tailscale-status-git
pkgver=r107.cecb04e
pkgrel=1
pkgdesc="An unofficial Gnome Extension to manage and check the status of tailscale-cli."
arch=(any)
url="https://github.com/maxgallup/tailscale-status"
license=(GPL2)
depends=(gnome-shell tailscale)
makedepends=(git)
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=("git+$url.git#branch=post-gnome45")
md5sums=(SKIP)

pkgver() {
    cd "$srcdir/tailscale-status"
    printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

package() {
    cd "$srcdir/tailscale-status"

    _installbase="$pkgdir/usr/share/gnome-shell/extensions"
    _extensionname='tailscale-status@maxgallup.github.com'

    install -d "$_installbase"
    cp -r "$_extensionname" "$_installbase"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions