summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: da9804f8262937c9591bc7514fc517e52e484298 (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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# This is an example PKGBUILD file. Use this as a start to creating your own,
# and remove these comments. For more information, see 'man PKGBUILD'.
# NOTE: Please fill out the license field for your package! If it is unknown,
# then please put 'unknown'.

# Maintainer: Jeffrey E. Bedard <jefbed@gmail.com>
pkgname=batwarn
pkgver=1.0.3
pkgrel=1
epoch=
pkgdesc="Simple battery warning tool which changes X gamma on low battery"
arch=('x86_64' 'x86')
url="https://github.com/jefbed/batwarn"
license=('MIT')
groups=()
depends=('libxxf86vm')
makedepends=()
checkdepends=()
optdepends=()
options=()
install=
changelog=
source=( "https://github.com/jefbed/batwarn/archive/batwarn-1.0.3.tar.gz" )
noextract=()
md5sums=('9c75ef08857d1c1fcce619d24a1cfe22')
validpgpkeys=()

#prepare() {
#	cd "$pkgname-$pkgver"
	#patch -p1 -i "$srcdir/$pkgname-$pkgver.patch"
#}

build() {
	cd "$pkgname-$pkgname-$pkgver"
	make
}

# Unimplemented

#check() {
#	cd "$pkgname-$pkgver"
#	make -k check
#}

package() {
	cd "$pkgname-$pkgname-$pkgver"
	mkdir -p $pkgdir/usr/bin
	make DESTDIR="$pkgdir" install
}