[arch-commits] Commit in thinkfinger/trunk (PKGBUILD thinkfinger.install)

Allan McRae allan at archlinux.org
Thu Oct 28 03:43:14 UTC 2010


    Date: Wednesday, October 27, 2010 @ 23:43:14
  Author: allan
Revision: 97237

upgpkg: thinkfinger 0.3-3
fix install file, get man pages compressed

Modified:
  thinkfinger/trunk/PKGBUILD
  thinkfinger/trunk/thinkfinger.install

---------------------+
 PKGBUILD            |   17 +++++++++++------
 thinkfinger.install |    8 --------
 2 files changed, 11 insertions(+), 14 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-10-28 03:39:10 UTC (rev 97236)
+++ PKGBUILD	2010-10-28 03:43:14 UTC (rev 97237)
@@ -5,7 +5,7 @@
 
 pkgname=thinkfinger
 pkgver=0.3
-pkgrel=2
+pkgrel=3
 pkgdesc="ThinkFinger is a driver for the SGS Thomson Microelectronics fingerprint reader found in most IBM/Lenovo ThinkPads"
 url="http://thinkfinger.sourceforge.net/"
 arch=('i686' 'x86_64')
@@ -18,16 +18,21 @@
          '71dc334282d19e6db4f6254542ba563c')
 
 build() {
-  # create dir to store fingerprints
-  mkdir -p $pkgdir/etc/pam_thinkfinger
-  
   cd $srcdir/$pkgname-$pkgver
   # Patch from Ubuntu: see http://bugs.archlinux.org/task/12580
-  patch -p0 < ../thinkfinger-uinput-hack.patch || return 1
+  patch -p0 < ../thinkfinger-uinput-hack.patch
   ./configure 	--prefix=/usr \
   		--with-securedir=/lib/security \
 		--with-birdir=/etc/pam_thinkfinger
-  make || return 1
+  make
+}
+
+package() {
+  cd $srcdir/$pkgname-$pkgver
+
+  # create dir to store fingerprints
+  install -d $pkgdir/etc/pam_thinkfinger
+  
   make DESTDIR=$pkgdir install
 }
 

Modified: thinkfinger.install
===================================================================
--- thinkfinger.install	2010-10-28 03:39:10 UTC (rev 97236)
+++ thinkfinger.install	2010-10-28 03:43:14 UTC (rev 97237)
@@ -2,11 +2,3 @@
   echo "==> To use thinkfinger, add 'uinput' to the MODULES=() in /etc/rc.conf."
   echo "    More Infos: http://wiki.archlinux.org/index.php/Thinkfinger"
 }
-
-post_upgrade() {
-  post_install
-}
-
-op=$1
-shift
-$op $*




More information about the arch-commits mailing list