upgpkg: wordpress 6.2.1-1
[ArchLinux/community.git] / lib32-pam / trunk / PKGBUILD
blob9aec9033d443000706c6241d70d1e6994805de2e
1 # Maintainer: Maxime Gauduin <alucryd@archlinux.org>
2 # Contributor: jtts <jussaar@mbnet.fi>
3 # Contributor: josephgbr <rafael.f.f1@gmail.com>
4 # Contributor: Janax <janax99@yahoo.com>
5 # Contributor: Tobias Powalowski <tpowa@archlinux.org>
6 # Contributor: judd <jvinet@zeroflux.org>
8 pkgname=lib32-pam
9 pkgver=1.5.3
10 pkgrel=1
11 pkgdesc='Pluggable Authentication Modules'
12 arch=(x86_64)
13 url=http://linux-pam.org
14 license=(GPL2)
15 depends=(
16   lib32-libtirpc
17   lib32-libxcrypt
18   pam
20 makedepends=(
21   docbook-xml
22   docbook-xsl
23   git
24   lib32-flex
25   w3m
27 _tag=v$pkgver
28 source=(git+https://github.com/linux-pam/linux-pam.git?signed#tag=${_tag})
29 validpgpkeys=(296D6F29A020808E8717A8842DB5BD89A340AEB7) # Dimitry V. Levin <ldv@altlinux.org>
30 b2sums=('SKIP')
31 options=(!emptydirs)
33 pkgver() {
34   cd linux-pam
36   git describe --tags | sed 's/^v//'
39 prepare() {
40   cd linux-pam
41   ./autogen.sh
44 build() {
45   cd linux-pam
47   export CC='gcc -m32'
48   export CXX='g++ -m32'
49   export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
51   ./configure \
52     --prefix=/usr \
53     --libdir=/usr/lib32 \
54     --sbindir=/usr/bin \
55     --enable-logind \
56     --disable-db \
57     --disable-doc
58   make
61 package() {
62   make DESTDIR="${pkgdir}" SCONFIGDIR=/etc/security -C linux-pam install
63   rm -rf "${pkgdir}"/{etc,usr/{bin,include,lib,share}}
66 # vim: ts=2 sw=2 et: