Date: Tuesday, March 1, 2011 @ 09:52:07
  Author: andrea
Revision: 111870

use package()

Modified:
  hddtemp/trunk/PKGBUILD

----------+
 PKGBUILD |    7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2011-03-01 13:40:38 UTC (rev 111869)
+++ PKGBUILD    2011-03-01 14:52:07 UTC (rev 111870)
@@ -1,5 +1,6 @@
 # $Id$
-# Maintainer: Andrea Scarpino <[email protected]>
+# Maintainer: Ionut Biru <[email protected]>
+# Contributor: Andrea Scarpino <[email protected]>
 # Contributor: Roman Kyrylych <[email protected]>
 # Contributor: Damir Perisa <[email protected]>
 
@@ -32,6 +33,10 @@
 
   ./configure --prefix=/usr --mandir=/usr/share/man 
--with-db-path=/usr/share/$pkgname/hddtemp.db
   make
+}
+
+package() {
+  cd "$srcdir/$pkgname-${_origver}"
   make DESTDIR=$pkgdir install
 
   install -D -m644 "$srcdir/$pkgname-${_origver}/debian/hddtemp.db" \

Reply via email to