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

Sébastien Luttringer seblu at nymeria.archlinux.org
Thu May 30 13:15:39 EDT 2013


    Date: Thursday, May 30, 2013 @ 19:15:39
  Author: seblu
Revision: 91978

upgpkg: makepasswd 1.10_9-1

Modified:
  makepasswd/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-05-30 17:11:18 UTC (rev 91977)
+++ PKGBUILD	2013-05-30 17:15:39 UTC (rev 91978)
@@ -5,7 +5,7 @@
 # Contributor: Manolis Tzanidakis
 
 pkgname=makepasswd
-pkgver=1.10_8
+pkgver=1.10_9
 pkgrel=1
 pkgdesc='Generates true random passwords with the emphasis on security over pronounceability (Debian version)'
 arch=('any')
@@ -15,11 +15,14 @@
 source=("http://ftp.debian.org/debian/pool/main/m/${pkgname}/${pkgname}_${pkgver%_*}.orig.tar.gz"
         "http://ftp.debian.org/debian/pool/main/m/${pkgname}/${pkgname}_${pkgver//_/-}.diff.gz")
 md5sums=('55842bb4c064ebcdedffb4afd5f0945a'
-         '85b7dfb06237dac85e2a745ede4822c0')
+         '66b730bfb5393842d754190766c7f77a')
 
+prepare() {
+  patch -p1 -d "$pkgname-${pkgver%_*}" < "${pkgname}_${pkgver//_/-}.diff"
+}
+
 package() {
   cd $pkgname-${pkgver%_*}
-  patch -p 1 -i "$srcdir/${pkgname}_${pkgver//_/-}.diff"
   install -D -m0755 makepasswd "$pkgdir/usr/bin/makepasswd"
   install -D -m0644 makepasswd.1 "$pkgdir/usr/share/man/man1/makepasswd.1"
 }



More information about the arch-commits mailing list