mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-03 02:37:15 +08:00
update libpwquality
This commit is contained in:
parent
c7eeb718be
commit
1411b45719
@ -4,32 +4,33 @@
|
||||
# contributor Jan de Groot <jgc@archlinux.org>
|
||||
|
||||
pkgname=libpwquality
|
||||
pkgver=1.2.1
|
||||
pkgver=1.2.3
|
||||
pkgrel=1
|
||||
pkgdesc="Library for password quality checking and generating random passwords"
|
||||
arch=('x86_64')
|
||||
url="https://fedorahosted.org/libpwquality/"
|
||||
license=('GPL')
|
||||
options=('!libtool')
|
||||
depends=('cracklib')
|
||||
optdepends=('python2: Python bindings')
|
||||
makedepends=('python2')
|
||||
source=("https://fedorahosted.org/releases/l/i/libpwquality/$pkgname-$pkgver.tar.bz2")
|
||||
md5sums=('beb56c9028a713d936e04cc3c50c541d')
|
||||
md5sums=('a8d4cf5d40a1c301f965432e6f3b821b')
|
||||
|
||||
prepare() {
|
||||
cd "$pkgname-$pkgver"
|
||||
sed -i -e 's/python setup.py/python2 setup.py/' python/Makefile.in
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "$pkgname-$pkgver"
|
||||
sed -i -e 's/python setup.py/python2 setup.py/' python/Makefile.in
|
||||
|
||||
PYTHON=python2 ./configure --prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--localstatedir=/var \
|
||||
--disable-static
|
||||
--with-python-rev=2.7
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$pkgname-$pkgver"
|
||||
|
||||
make DESTDIR="$pkgdir" install
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user