blob: 80d8065198a0fb661d3ab0b2aaff3893e86968f9 (
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
27
28
29
30
31
32
|
# Maintainer Julian Xhokaxhiu <info at julianxhokaxhiu dot com>
pkgname=gnome-shell-extension-ds4battery-git
pkgver=ee6f537
pkgrel=1
pkgdesc="Gnome Shell extensions battery indicator for Sony DS4 Controller"
arch=('any')
url="https://github.com/thankjura/ds4battery"
license=('MIT')
depends=('gnome-shell')
makedepends=('git')
source=("$pkgname::git+https://github.com/thankjura/ds4battery.git")
sha256sums=('SKIP')
pkgver() {
cd "$pkgname"
git rev-parse --short HEAD
}
package() {
_uuid="ds4battery@slie.ru"
cd "$pkgname"
mkdir -p ${pkgdir}/usr/share/gnome-shell/extensions
cp -r . "${pkgdir}/usr/share/gnome-shell/extensions/$_uuid"
chown -R 644 ${pkgdir}/usr/share/gnome-shell/extensions/$_uuid
}
|