blob: c0d1a224b49dbecc0a60e9e56d56acadca8360ca (
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
|
# Maintainer: Hendrik Werner <hendrik.to@gmail.com>
pkgname=battery_warning
pkgver=1.3.1
pkgrel=1
pkgdesc='Warn if the battery capacity drops too low'
arch=('x86_64')
url='https://github.com/Hendrikto/battery_warning'
license=('MIT')
depends=('i3-wm')
makedepends=('git')
source=("$pkgname-$pkgver::git+https://github.com/Hendrikto/battery_warning.git")
sha256sums=('SKIP')
prepare() {
cd "$pkgname-$pkgver"
git checkout $pkgver
}
build() {
cd "$pkgname-$pkgver"
make prefix=/usr
}
package() {
cd "$pkgname-$pkgver"
make DESTDIR=$pkgdir prefix=/usr systemd_prefix=/usr/lib install
install -D -m 644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
}
|