blob: 737e55fa95662f225bb94c6501b640909b2d7dc3 (
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
|
# $Id: PKGBUILD 67719 2012-03-14 08:59:42Z giovanni $
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
# Contributor: dibblethewrecker <dibblethewrecker@jiwe.org>
pkgname=osdbattery
pkgver=1.4
pkgrel=4
pkgdesc="Displays battery information in the OSD style"
arch=('i686' 'x86_64' 'mips64el')
url="http://osdbattery.sourceforge.net"
license=('GPL2')
depends=('xosd')
install=osdbattery.install
source=("http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}_${pkgver}.tar.gz"
'showbatt')
md5sums=('43f9cc0428b6cb25baf1e6e2286e88b1'
'a786cd645135a369c8ed55b837174c92')
build() {
cd "${srcdir}/${pkgname}_${pkgver}"
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"
}
|