summaryrefslogtreecommitdiff
path: root/extra/pwgen
diff options
context:
space:
mode:
Diffstat (limited to 'extra/pwgen')
-rw-r--r--extra/pwgen/PKGBUILD16
1 files changed, 10 insertions, 6 deletions
diff --git a/extra/pwgen/PKGBUILD b/extra/pwgen/PKGBUILD
index 0f9327fe5..7798a8370 100644
--- a/extra/pwgen/PKGBUILD
+++ b/extra/pwgen/PKGBUILD
@@ -1,21 +1,25 @@
-# $Id: PKGBUILD 78038 2010-04-19 08:28:26Z dgriffiths $
+# $Id: PKGBUILD 149610 2012-02-08 20:11:44Z pierre $
# Maintainer: damir <damir@archlinux.org>
# Contributor : Tobias Powalowski <t.powa@gmx.de>
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
}