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

andyrtr at archlinux.org andyrtr at archlinux.org
Mon Jun 30 16:26:30 UTC 2008


    Date: Monday, June 30, 2008 @ 12:26:29
  Author: andyrtr
Revision: 3728

upgpkg: nvclock 0.8b3-2
    fix #9583

Modified:
  nvclock/trunk/PKGBUILD

----------+
 PKGBUILD |   17 ++++++++---------
 1 file changed, 8 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2008-06-30 01:02:13 UTC (rev 3727)
+++ PKGBUILD	2008-06-30 16:26:29 UTC (rev 3728)
@@ -1,9 +1,10 @@
 # $Id$
 # Contributor: Markus Meissner <markus at meissna.de>
-# Maintainer: dorphell <dorphell at archlinux.org>
+# Maintainer: Andreas Radke <andyrtr at archlinux.org>
+
 pkgname=nvclock
 pkgver=0.8b3
-pkgrel=1
+pkgrel=2
 pkgdesc="A small utility which allows users to overclock NVIDIA based video cards"
 arch=('i686' 'x86_64')
 license=('GPL')
@@ -14,11 +15,9 @@
 options=('!makeflags')
 
 build(){
-    cd $startdir/src/$pkgname$pkgver
-    # --mandir isn't supported
-    sed -i "s:${prefix}/man:${prefix}/share/man:" $startdir/src/$pkgname$pkgver/Makefile.in
-    ./configure --prefix=$startdir/pkg/usr
-    make || return 1
-    mkdir -p $startdir/pkg/usr/bin
-    make install
+  cd ${srcdir}/$pkgname$pkgver
+  sed -i 's:${prefix}/man:${prefix}\/share\/man:' ${srcdir}/$pkgname$pkgver/Makefile.in || return 1
+  ./configure --prefix=/usr --bindir=/usr/bin
+  make || return 1 || return 1
+  make DESTDIR=${pkgdir} install || return 1
 }





More information about the arch-commits mailing list