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

Alexander Rødseth arodseth at nymeria.archlinux.org
Thu Jan 2 12:17:27 UTC 2014


    Date: Thursday, January 2, 2014 @ 13:17:26
  Author: arodseth
Revision: 103276

upgpkg: acpi 1.7-1

Modified:
  acpi/trunk/PKGBUILD

----------+
 PKGBUILD |   16 +++++++---------
 1 file changed, 7 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-01-02 08:50:55 UTC (rev 103275)
+++ PKGBUILD	2014-01-02 12:17:26 UTC (rev 103276)
@@ -3,18 +3,18 @@
 # Contributor: Judd Vinet <jvinet at zeroflux.org>
 
 pkgname=acpi
-pkgver=1.6
-pkgrel=2
-pkgdesc="Client for battery, power, and thermal readings"
+pkgver=1.7
+pkgrel=1
+pkgdesc='Client for battery, power, and thermal readings'
 arch=('x86_64' 'i686')
-url="http://sourceforge.net/projects/acpiclient/"
+url='http://sourceforge.net/projects/acpiclient/'
 license=('GPL2')
 depends=('glibc')
 source=("http://downloads.sourceforge.net/acpiclient/$pkgname-$pkgver.tar.gz")
-sha256sums=('ed61d20400c4fd3965dde9b49ab3ac74da02f8eca1a55454f7a1ac3fa1fd5c31')
+sha256sums=('d7a504b61c716ae5b7e81a0c67a50a51f06c7326f197b66a4b823de076a35005')
 
 build() {
-  cd "$srcdir/$pkgname-$pkgver"
+  cd "$pkgname-$pkgver"
 
   ./configure --prefix=/usr
   make
@@ -21,9 +21,7 @@
 }
 
 package() {
-  cd "$srcdir/$pkgname-$pkgver"
-
-  make DESTDIR"=$pkgdir" install
+  make -C "$pkgname-$pkgver" DESTDIR"=$pkgdir" install
 }
 
 # vim:set ts=2 sw=2 et:




More information about the arch-commits mailing list