Package Details: gnome-shell-extension-media-controls-git 17.b26532f-1

Git Clone URL: https://aur.archlinux.org/gnome-shell-extension-media-controls-git.git (read-only, click to copy)
Package Base: gnome-shell-extension-media-controls-git
Description: A media indicator for the GNOME shell.
Upstream URL: https://github.com/cliffniff/media-controls
Licenses: MIT
Provides: gnome-shell-extension-media-controls-git
Submitter: sakithb
Maintainer: sakithb
Last Packager: sakithb
Votes: 0
Popularity: 0.000000
First Submitted: 2021-09-16 15:45 (UTC)
Last Updated: 2021-09-16 15:45 (UTC)

Latest Comments

deltachaos commented on 2026-05-28 14:01 (UTC)

The original source repository has been archived, but there is a fork with Gnome 50 support: https://github.com/m-obeid/media-controls

I updated the PKGBUILD to build the new package:

pkgname=gnome-shell-extension-media-controls-git
pkgver=17.0a81d99
pkgrel=1
pkgdesc="A media indicator for the GNOME shell."
arch=('any')
url="https://github.com/m-obeid/media-controls"
license=('MIT')
makedepends=('git' 'zip' 'unzip' 'pnpm')
depends=('gnome-shell')
provides=("${pkgname}")
options=(!strip !emptydirs)
source=(${pkgname}::"git+${url}")
sha256sums=('SKIP')

build(){
    cd "$srcdir/$pkgname"
    pnpm install
    pnpm run build
}

package() {
    ZIP_FILENAME=$(ls -Art "$srcdir/$pkgname/dist/builds" | tail -n 1)
        ZIP_FILE="$srcdir/$pkgname/dist/builds/${ZIP_FILENAME}"
    destdir="$pkgdir/usr/share/gnome-shell/extensions/mediacontrols@cliffniff.github.com/"
    mkdir -p "$destdir"
    install -dm755 "$destdir"
    cp -r "$ZIP_FILE" "$destdir/extension.zip"
    cd "$destdir"
    unzip extension.zip
    rm -rf extension.zip
    glib-compile-schemas ./schemas
    chmod 644 "metadata.json"
}