blob: 39ede6ff9e19711562f8e41eb879014eb1215b87 (
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
|
# Maintainer: Tony Lambiris <tony@libpcap.net>
pkgname=gnome-shell-extension-bumblebee-status-git
pkgver=r14.17cd4c1
pkgrel=2
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=("${pkgname}::git+${url}")
sha256sums=('SKIP')
pkgver() {
cd "${srcdir}/${pkgname}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "${srcdir}/${pkgname}"
./autogen.sh
./configure --prefix=/usr
make
}
package() {
cd "${srcdir}/${pkgname}"
make DESTDIR="${pkgdir}" install
}
|