mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
25 lines
789 B
Bash
25 lines
789 B
Bash
# $Id: PKGBUILD 1332 2009-08-16 10:25:55Z spupykin $
|
|
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
|
|
# Contributor: Gerhard Brauer <gerhard.brauer@web.de>
|
|
# Contributor: Milosz Piglas <archeofuture@gmail.com>
|
|
|
|
pkgname=acpitool
|
|
pkgver=0.5.1
|
|
pkgrel=1
|
|
pkgdesc="ACPI client - replacement for apm tool"
|
|
url="http://sourceforge.net/projects/acpitool/"
|
|
arch=('i686' 'x86_64')
|
|
license=('GPL')
|
|
source=(http://downloads.sourceforge.net/sourceforge/acpitool/acpitool-$pkgver.tar.bz2 \
|
|
kernel_2.6.21.patch)
|
|
depends=(libstdc++5)
|
|
md5sums=('9e4ec55201be0be71ffbc56d38b42b57'
|
|
'b55eb498a323ca81ad5abe73cc608912')
|
|
|
|
build() {
|
|
cd $startdir/src/$pkgname-$pkgver
|
|
# patch -p1 -i ../kernel_2.6.21.patch
|
|
./configure --prefix=/usr
|
|
make || return 1
|
|
make prefix=$startdir/pkg/usr install
|
|
}
|