blob: 1d2da57152361090d1bdbdb8826d9be5b2c1b88b (
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
|
# $Id: PKGBUILD 76967 2012-10-02 18:09:45Z jlichtblau $
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
# Contributor: dibblethewrecker <dibblethewrecker@jiwe.org>
pkgname=osdbattery
pkgver=1.4
pkgrel=5
pkgdesc="Displays battery information in the OSD style"
arch=('i686' 'x86_64')
url="http://osdbattery.sourceforge.net/"
license=('GPL2')
depends=('xosd')
makedepends=('patch')
install=$pkgname.install
source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}_${pkgver}.tar.gz
sysfs.patch::"http://sourceforge.net/tracker/download.php?group_id=120528&atid=687314&file_id=429967&aid=3450277"
showbatt)
sha256sums=('b1f775c746cd78b6aa7fc9ee75ecf2806ef3da93a42dd806c0414dcae55aed9f'
'd7a00e918929d36aaf3eb398649ea070ed6c4840e3da2407226fc5d9ae15d776'
'69969053235642315b49fe6ea5df7f8c391befbf492fd4ff71afbf4d438333b2')
build() {
cd ${srcdir}/${pkgname}_${pkgver}
patch -i ${srcdir}/sysfs.patch
make
}
package() {
cd ${srcdir}/${pkgname}_${pkgver}
install -D -m755 $pkgname ${pkgdir}/usr/bin/${pkgname}
install -D -m755 ${srcdir}/showbatt ${pkgdir}/usr/bin/showbatt
install -D -m644 $pkgname.cfg ${pkgdir}/etc/${pkgname}/${pkgname}.cfg
}
|