summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a1c36192d313ddb7d865418321f1304bafb95ac7 (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
# Maintainer: tioguda <guda.flavio@gmail.com>

pkgname=slimbookbattery
pkgver=3.9beta
pkgrel=2
pkgdesc="Slimbook Battery. Is a battery optimization application for portable devices that can increase the battery life by 50%. For this purpose, the third-party software (TLP and others) is used to manage and configure the system resources."
arch=('any')
url="http://slimbook.es"
license=('Creative Commons BY-NC-ND 3.0')
groups=()
depends=('bash-completion' 'desktop-file-utils' 'gdk-pixbuf2' 'glib2' 'gobject-introspection-runtime' 'hicolor-icon-theme' 'libappindicator-gtk2' 'libappindicator-gtk3' 'libnotify' 'python' 'python-dbus' 'python-gobject' 'python-pillow' 'tlp' 'tlp-rdw' 'xorg-xdpyinfo')
optdepends=('gnome-shell-extension-appindicator:    Integrates AppIndicators into GNOME Shell')
backup=('etc/systemd/system/suspend-sedation.service')
options=('!strip' '!emptydirs')
install=${pkgname}.install
source=("https://launchpad.net/~slimbook/+archive/ubuntu/slimbook/+files/${pkgname}_${pkgver}_all.deb")
sha512sums=('1c8a7688e42ae4b46df0cadbd1fb93c095658045780d1c00ab2c091f085f637f20ac791a4aad13e4280a7d670b9436dc680afb71032ffdb1710770b813caa58a')

package(){
    # Extract package data
    tar xf data.tar.xz -C "${pkgdir}"

    install -D -m644 "${pkgdir}/usr/share/doc/${pkgname}/copyright" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}