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

Pierre Schmitz pierre at archlinux.org
Wed Feb 8 15:11:09 EST 2012


    Date: Wednesday, February 8, 2012 @ 15:11:08
  Author: pierre
Revision: 149609

upgpkg: pwgen 2.06-3

rebuild old package

Modified:
  pwgen/trunk/PKGBUILD

----------+
 PKGBUILD |   14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-02-08 19:58:56 UTC (rev 149608)
+++ PKGBUILD	2012-02-08 20:11:08 UTC (rev 149609)
@@ -4,18 +4,22 @@
 
 pkgname=pwgen
 pkgver=2.06
-pkgrel=2
+pkgrel=3
 pkgdesc="Pwgen is a small password generator which creates passwords which can be easily memorized by a human"
 arch=("i686" "x86_64")
 url="http://sourceforge.net/projects/pwgen/"
 license=('GPL')
 depends=('glibc')
-source=(http://downloads.sourceforge.net/sourceforge/pwgen/${pkgname}-${pkgver}.tar.gz)
+source=("http://downloads.sourceforge.net/sourceforge/pwgen/${pkgname}-${pkgver}.tar.gz")
 md5sums=('935aebcbe610fbc9de8125e7b7d71297')
 
 build() {
   cd ${srcdir}/${pkgname}-${pkgver}
-  ./configure --prefix=/usr --mandir=/usr/share/man || return 1
-  make || return 1
-  make DESTDIR=${pkgdir} install || return 1
+  ./configure --prefix=/usr --mandir=/usr/share/man
+  make
 }
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  make DESTDIR=${pkgdir} install
+}



More information about the arch-commits mailing list