blob: e054a7bdda7446f872094166b9a2430ffd76bebd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
# Maintainer: Helmut Stult <hst[at]e-mail[dot]de>
# Based on the code from:
# Lenovsky <lenovsky@pm.me>
pkgname=lenopow
pkgver=1.0.6
pkgrel=1
pkgdesc="A script to enable/disable battery conservation mode in Lenovo Ideapad/LEGION notebooks."
arch=('any')
url="https://github.com/schinfo/${pkgname}"
license=('custom:unlicense')
source=("https://github.com/schinfo/${pkgname}/archive/refs/tags/${pkgver}.tar.gz")
sha256sums=('62fd78dd8a6251bb640fd881275a296b9daf7621a87c5fd83d739b0c97614b6e')
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make PREFIX=/usr DESTDIR="${pkgdir}" install
install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|