summaryrefslogtreecommitdiff
path: root/community/ibam
diff options
context:
space:
mode:
Diffstat (limited to 'community/ibam')
-rw-r--r--community/ibam/PKGBUILD34
-rw-r--r--community/ibam/ibam-0.5.2-sysfs.patch17
-rw-r--r--community/ibam/ibam.install8
3 files changed, 0 insertions, 59 deletions
diff --git a/community/ibam/PKGBUILD b/community/ibam/PKGBUILD
deleted file mode 100644
index 6f72fb3dc..000000000
--- a/community/ibam/PKGBUILD
+++ /dev/null
@@ -1,34 +0,0 @@
-# $Id: PKGBUILD 65562 2012-02-21 08:57:40Z spupykin $
-# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
-# Contributor: Kessia 'even' Pinheiro <kessiapinheiro at gmail.com>
-# Contributor: Penguin <TGates81.at.gmail.dot.com>
-
-pkgname=ibam
-pkgver=0.5.2
-pkgrel=5
-pkgdesc="An intelligent battery monitor"
-arch=('i686' 'x86_64')
-url="http://ibam.sourceforge.net/"
-license=('GPL')
-depends=('gcc-libs')
-makedepends=('sed' 'make')
-optdepends=('gnuplot: graphs support')
-install="ibam.install"
-source=("http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz"
- ibam-0.5.2-sysfs.patch)
-md5sums=('2d5222ff504dd19e7c1ea8acc2f13cf5'
- 'c3aafebd5ad9159c89f71beab4a0f414')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- install -m0755 -d ${pkgdir}/usr/bin
-
- sed -i \
- -e "s|/local/bin|/bin|g" \
- -e "s|^CFLAGS=-O3|CFLAGS=${CFLAGS}|g" \
- Makefile
- patch -p1 <$srcdir/ibam-0.5.2-sysfs.patch
-
- make
- install -m0755 -D ${srcdir}/${pkgname}-${pkgver}/ibam ${pkgdir}/usr/bin/ibam
-}
diff --git a/community/ibam/ibam-0.5.2-sysfs.patch b/community/ibam/ibam-0.5.2-sysfs.patch
deleted file mode 100644
index d9d73f924..000000000
--- a/community/ibam/ibam-0.5.2-sysfs.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-diff -wbBur ibam-0.5.2/ibam.inl ibam-0.5.2.my/ibam.inl
---- ibam-0.5.2/ibam.inl 2009-03-09 16:53:20.000000000 +0000
-+++ ibam-0.5.2.my/ibam.inl 2011-03-24 19:41:32.000000000 +0000
-@@ -959,7 +959,13 @@
- acpi.close();
- apm = new acpi_status();
- } else {
-+ sysfs.open((sysfs_path+"/BAT0/charge_full").c_str());
-+ if(!sysfs.is_open()) {
- sysfs.open((sysfs_path+"/BAT1/charge_full").c_str());
-+ }
-+ if(!sysfs.is_open()) {
-+ sysfs.open((sysfs_path+"/BAT2/charge_full").c_str());
-+ }
- if(sysfs.is_open()) {
- #ifdef IBAM_DEBUG
- cout << "using sysfs" << endl;
diff --git a/community/ibam/ibam.install b/community/ibam/ibam.install
deleted file mode 100644
index 507c1581d..000000000
--- a/community/ibam/ibam.install
+++ /dev/null
@@ -1,8 +0,0 @@
-post_install() {
- echo -e "-> install gnuplot to use the \`--plot' switch."
- /bin/true
-}
-
-post_upgrade() {
- post_install $1
-}