20 lines
563 B
Plaintext
20 lines
563 B
Plaintext
# Description: C/C++ version of the zxcvbn password strength estimator
|
|
# URL: https://github.com/tsyrogit/zxcvbn-c
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
|
# Depends on:
|
|
|
|
name=zxcvbn-c
|
|
version=2.5
|
|
release=1
|
|
source=(https://github.com/tsyrogit/zxcvbn-c/archive/v$version/$name-$version.tar.gz)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
make
|
|
mkdir -p $PKG/usr/{bin,lib,include,share}
|
|
install -p -m 0644 *.h $PKG/usr/include/
|
|
cp -a libzxcvbn.so* $PKG/usr/lib/
|
|
install -p -m 0755 dictgen $PKG/usr/bin
|
|
install -p -m 0644 zxcvbn.dict $PKG/usr/share/zxcvbn
|
|
}
|