summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f1f5dfc7d480caf791684b93c1d95553197e2da4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
pkgname=gnome-shell-extension-media-controls
pkgver=28
pkgrel=2
pkgdesc="A media indicator for the GNOME shell"
arch=('any')
url="https://github.com/cliffniff/media-controls"
license=('MIT')
makedepends=()
depends=('gnome-shell')
provides=("${pkgname}")
options=(!strip !emptydirs)
source=("https://github.com/sakithb/media-controls/releases/latest/download/extension.zip")
sha256sums=('SKIP')

pkgver() {
  cd "$pkgname"
  git describe --tags --abbrev=0 | sed 's/^v\(.*\)/\1/'
}

package() {
	destdir="$pkgdir/usr/share/gnome-shell/extensions/mediacontrols@cliffniff.github.com/"
	mkdir -p "$destdir"
	install -dm755 "$destdir"

	cp -r "$srcdir" "$destdir"
}