blob: eca1c10ab1397fc3475813a8ecbaa28d2df9f32a (
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
33
34
35
36
37
38
39
40
|
# Maintainer: Tony Lambiris <tony@libpcap.net>
pkgname=gnome-shell-extension-bumblebee-status-git
_gitname=gnome-shell-extension-bumblebee-status
pkgver=r14.17cd4c1
pkgrel=1
pkgdesc="GNOME Shell extension that shows the status of the NVIDIA GPU"
arch=('any')
url="https://github.com/dsboger/gnome-shell-extension-bumblebee-status"
license=('GPL3')
depends=('gnome-shell' 'unzip')
makedepends=('git')
source=('git+https://github.com/dsboger/gnome-shell-extension-bumblebee-status.git')
sha256sums=('SKIP')
pkgver() {
cd $_gitname
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd $_gitname
./autogen.sh
./configure --prefix=/usr
make ${MAKEFLAGS} zip-file
}
package() {
cd $_gitname
_extid="gnome-shell-extension-bumblebee-status.dsboger@gmail.com"
_extpath="${pkgdir}/usr/share/gnome-shell/extensions/${_extid}"
install -dm755 "${_extpath}"
unzip -q -d "${_extpath}" "${_gitname}.zip"
}
|