mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-17 23:34:07 +00:00
28 lines
811 B
Bash
28 lines
811 B
Bash
# Contributor: Kessia 'even' Pinheiro <kessiapinheiro at gmail.com>
|
|
# Contributor: Penguin <TGates81.at.gmail.dot.com>
|
|
pkgname=ibam
|
|
pkgver=0.5.2
|
|
pkgrel=1
|
|
pkgdesc="An intelligent battery monitor"
|
|
arch=('i686' 'x86_64')
|
|
url="http://ibam.sourceforge.net/"
|
|
license=('GPL')
|
|
depends=('sed' 'bash')
|
|
optdepends=('gnuplot: graphs support')
|
|
makedepends=('make')
|
|
source=("http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz")
|
|
install="ibam.install"
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
install -m0755 -d ${pkgdir}/usr/bin || return 1
|
|
|
|
sed -i \
|
|
-e "s|/local/bin|/bin|g" \
|
|
-e "s|^CFLAGS=-O3|CFLAGS=${CFLAGS}|g" \
|
|
Makefile
|
|
|
|
make || return 1
|
|
install -m0755 -D ${srcdir}/${pkgname}-${pkgver}/ibam ${pkgdir}/usr/bin/ibam || return 1
|
|
}
|
|
md5sums=('2d5222ff504dd19e7c1ea8acc2f13cf5')
|