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

Alexander Rødseth arodseth at archlinux.org
Thu Nov 20 12:43:49 UTC 2014


    Date: Thursday, November 20, 2014 @ 13:43:49
  Author: arodseth
Revision: 122830

upgpkg: pwgen 2.07-1

Modified:
  pwgen/trunk/PKGBUILD

----------+
 PKGBUILD |   19 ++++++++++---------
 1 file changed, 10 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-11-20 12:37:12 UTC (rev 122829)
+++ PKGBUILD	2014-11-20 12:43:49 UTC (rev 122830)
@@ -4,8 +4,8 @@
 # Contributor: Tobias Powalowski <t.powa at gmx.de>
 
 pkgname=pwgen
-pkgver=2.06
-pkgrel=4
+pkgver=2.07
+pkgrel=1
 pkgdesc='Password generator for creating easily memorable passwords'
 arch=('x86_64' 'i686')
 url='http://sourceforge.net/projects/pwgen/'
@@ -12,20 +12,21 @@
 license=('GPL')
 depends=('glibc')
 source=("http://downloads.sourceforge.net/sourceforge/pwgen/$pkgname-$pkgver.tar.gz")
-sha256sums=('61598c9e3a0f7eb2e7367d4ecc71522c4f16a7d41ed31db29e3afee8d9843454')
+sha256sums=('eb74593f58296c21c71cd07933e070492e9222b79cedf81d1a02ce09c0e11556')
 
+prepare() {
+  cd "$pkgname-$pkgver"
+  autoconf
+}
+
 build() {
-  cd "$srcdir/$pkgname-$pkgver"
-
-  autoconf
+  cd "$pkgname-$pkgver"
   ./configure --prefix=/usr --mandir=/usr/share/man
   make
 }
 
 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