plasma5-applets-bumblebee-indicator 0.4

This commit is contained in:
AlmAck 2017-11-05 21:32:44 +01:00
parent ec21727eb4
commit 1deeb2aa52

View File

@ -1,6 +1,6 @@
pkgname=plasma5-applets-bumblebee-indicator pkgname=plasma5-applets-bumblebee-indicator
_name=bumblebee-indicator _name=bumblebee-indicator
pkgver=0.3.5 pkgver=0.4
pkgrel=1 pkgrel=1
pkgdesc="Indicates the Nvidia card's on or off status on the Optimus systems, when bumblebee is used." pkgdesc="Indicates the Nvidia card's on or off status on the Optimus systems, when bumblebee is used."
arch=('x86_64') arch=('x86_64')
@ -9,16 +9,17 @@ license=('GPL')
group=('plasma5-applets') group=('plasma5-applets')
depends=('plasma-workspace' 'qt5-graphicaleffects') depends=('plasma-workspace' 'qt5-graphicaleffects')
makedepends=('extra-cmake-modules') makedepends=('extra-cmake-modules')
source=("https://github.com/bxabi/bumblebee-indicator/archive/master.zip") _commit="ee45911bd50115cf7c96cc36177d5f8bca823f33"
sha256sums=('f3336972bd94d01ae8b48d95ee7cdb409d41fa794ca3dc2888d6383fd1ec1b9e') source=("https://github.com/bxabi/bumblebee-indicator/archive/${_commit}.zip")
sha256sums=('5cd893f0bca21f2f08c5126d6866527e4034d231f0c512384180ba58f8dc7d15')
prepare() { prepare() {
cd "${_name}-master" cd $_name-${_commit}
mkdir -p build mkdir -p build
} }
build() { build() {
cd "${_name}-master/build" cd "$_name-${_commit}/build"
cmake .. \ cmake .. \
-DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_PREFIX=/usr \
@ -28,7 +29,7 @@ build() {
} }
package() { package() {
cd "${_name}-master"/build cd "$_name-${_commit}/build"
make install DESTDIR="${pkgdir}" make install DESTDIR="${pkgdir}"
mv $pkgdir/usr/share/plasma/plasmoids/bumblebee-kde5-plasmoid \ mv $pkgdir/usr/share/plasma/plasmoids/bumblebee-kde5-plasmoid \