summaryrefslogtreecommitdiff
path: root/community/osdbattery/PKGBUILD
blob: 62eced75b9d206188345d3e15497bf9d608c1f20 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# $Id: PKGBUILD 7260 2010-01-03 16:12:31Z ibiru $
# Contributor: dibblethewrecker <dibblethewrecker@jiwe.org>
pkgname=osdbattery
pkgver=1.4
pkgrel=3
pkgdesc="Displays battery information in the OSD style"
arch=('i686' 'x86_64')
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 $startdir/src/$pkgname\_$pkgver
  make || return 1
  install -D -m755 $startdir/src/$pkgname\_$pkgver/$pkgname $startdir/pkg/usr/bin/$pkgname
  install -D -m755 $startdir/src/showbatt $startdir/pkg/usr/bin/showbatt
  install -D -m644 $startdir/src/$pkgname\_$pkgver/$pkgname.cfg $startdir/pkg/etc/$pkgname/$pkgname.cfg
}
# vim:syntax=sh