summaryrefslogtreecommitdiff
path: root/community/pam_pwcheck/PKGBUILD
blob: 4ae03a936231f1bb26d34832fa9c8c3f8438648a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# $Id: PKGBUILD 70355 2012-05-04 23:55:13Z allan $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>

pkgname=pam_pwcheck
pkgver=3.9
pkgrel=4
pkgdesc="A password strength checking module for PAM-aware password changing programs"
arch=(i686 x86_64 'mips64el')
url="http://www.thkukuk.de/pam/pam_pwcheck/"
depends=('pam')
license=('GPL')
source=(ftp://ftp.suse.com/pub/people/kukuk/pam/pam_pwcheck/pam_pwcheck-$pkgver.tar.bz2
	pam_pwcheck-3.9-pthread.patch)
md5sums=('27be63338af88d14610d182b6a161cd1'
	 '0978c56f1321febb5b4fa584f1054773')

build() {
  cd $srcdir/$pkgname-$pkgver
  patch -Np1 -i ${srcdir}/pam_pwcheck-3.9-pthread.patch
  ./configure --prefix=/usr --mandir=/usr/share/man --libdir=/usr/lib
  make
  make DESTDIR=$pkgdir install
}