[arch-commits] Commit in acpi/trunk (PKGBUILD)

Thomas Bächler thomas at archlinux.org
Wed Jan 26 10:33:38 EST 2011


    Date: Wednesday, January 26, 2011 @ 10:33:37
  Author: thomas
Revision: 107523

acpi: Upgrade to 1.5

Modified:
  acpi/trunk/PKGBUILD

----------+
 PKGBUILD |   15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-01-26 13:47:15 UTC (rev 107522)
+++ PKGBUILD	2011-01-26 15:33:37 UTC (rev 107523)
@@ -3,20 +3,23 @@
 # Maintainer: Thayer Williams <thayer at archlinux.org>
 
 pkgname=acpi
-pkgver=1.4
-pkgrel=2
+pkgver=1.5
+pkgrel=1
 pkgdesc="Linux ACPI client providing battery, AC power, and thermal readings"
 arch=('i686' 'x86_64')
 url="http://sourceforge.net/projects/acpiclient"
 depends=('glibc')
 source=(http://downloads.sourceforge.net/acpiclient/$pkgname-$pkgver.tar.gz)
 license=('GPL2')
-md5sums=('ea2a285957a36bad2ec099413bd330a5')
+sha256sums=('57ff91cb5bef9e6d158c5b231a553a3a77c9ccfd0e4fad42958d1e61241060dd')
 
 build() {
   cd $srcdir/$pkgname-$pkgver
-  ./configure --prefix=/usr || return 1
-  make || return 1
-  make DESTDIR=$pkgdir install || return 1
+  ./configure --prefix=/usr
+  make
 }
 
+package() {
+  cd $srcdir/$pkgname-$pkgver
+  make DESTDIR=$pkgdir install
+}



More information about the arch-commits mailing list