Commit c9ef25bb authored by Jeff Huang's avatar Jeff Huang 🤔

[skip-ci] lib32-cracklib: update to 2.9.7

parent 004c1a2d
Pipeline #4420 skipped
# Lib32 Packages for Chakra, part of chakra-project.org
#
# Maintainer: AlmAck <almack@chakra-project.org>
# Contributor: josephgbr <rafael.f.f1 at gmail dot com>
_pkgbasename=cracklib
pkgname=lib32-$_pkgbasename
pkgver=2.9.6
pkgver=2.9.7
pkgrel=1
pkgdesc="Password Checking Library (32 bit)"
arch=('x86_64')
url="http://sourceforge.net/projects/cracklib"
url="https://sourceforge.net/projects/cracklib"
license=('LGPL')
depends=('lib32-glibc' 'lib32-zlib' $_pkgbasename=$pkgver)
makedepends=('gcc-multilib')
options=('!libtool')
source=(https://github.com/cracklib/cracklib/releases/download/${_pkgbasename}-${pkgver}/${_pkgbasename}-${pkgver}.tar.gz)
md5sums=('c52f463585d85924b28cdc1e373ae06d')
makedepends=('lib32-gcc-libs')
source=(https://github.com/cracklib/cracklib/releases/download/v${pkgver}/${_pkgbasename}-${pkgver}.tar.gz)
sha256sums=('8b6fd202f3f1d8fa395d3b7a5d821227cfd8bb4a9a584a7ae30cf62cea6287dd')
build() {
cd "$srcdir/$_pkgbasename-$pkgver"
./configure --prefix=/usr --libdir=/usr/lib32 --without-python CC='gcc -m32'
export CC='gcc -m32'
export CXX='g++ -m32'
export PKG_CONFIG_PATH=/usr/lib32/pkgconfig
./configure --prefix=/usr --libdir=/usr/lib32 --sbindir=/usr/bin --without-python
make
}
package() {
cd "$srcdir/$_pkgbasename-$pkgver"
make DESTDIR="$pkgdir" install
rm -rf "${pkgdir}/usr"/{include,sbin,share}
rm -rf "${pkgdir}/usr"/{include,bin,share}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment