File PKGBUILD of Package gnome-shell-extension-appindicator

pkgname=gnome-shell-extension-appindicator
pkgver=0
pkgrel=1
pkgdesc="Integrates AppIndicators into GNOME Shell"
arch=('any')
url="https://github.com/ubuntu/gnome-shell-extension-appindicator"
license=('GPL')
depends=('gnome-shell>=3.34')
optdepends=(
  'libappindicator-gtk2: support GTK+2 applications'
  'libappindicator-gtk3: support GTK+3 applications'
)
provides=(
   'gnome-shell-extension-appindicator'
)
source=("$pkgname-$pkgver.tar.xz")
sha256sums=(SKIP)

package() {
  cd "$pkgname-$pkgver"

  local _uuid="appindicatorsupport@rgcjonas.gmail.com"
  local _destdir="$pkgdir/usr/share/gnome-shell/extensions/$_uuid"

  install -d "$_destdir"
  cp --parents -t "$_destdir" metadata.json *.js interfaces-xml/*.xml
}
openSUSE Build Service is sponsored by