blob: f12c733c0b9d7355d4ca8c4a7099d53372173cd0 (
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/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"
}
|