libxcrypt 4.4.36-1
This commit is contained in:
parent
0a3543362a
commit
2795527bc8
58
libxcrypt/PKGBUILD
Normal file
58
libxcrypt/PKGBUILD
Normal file
@ -0,0 +1,58 @@
|
||||
# This is an example PKGBUILD file. Use this as a start to creating your own,
|
||||
# and remove these comments. For more information, see 'man PKGBUILD'.
|
||||
# NOTE: Please fill out the license field for your package! If it is unknown,
|
||||
# then please put 'unknown'.
|
||||
|
||||
# Maintainer: Future Linux Team <future_linux@163.com>
|
||||
pkgname=libxcrypt
|
||||
pkgver=4.4.36
|
||||
pkgrel=1
|
||||
pkgdesc="Modern library for one-way hashing of passwords"
|
||||
arch=('x86_64')
|
||||
url="https://github.com/besser82/libxcrypt/"
|
||||
license=('LGPL')
|
||||
depends=('glibc')
|
||||
source=(https://github.com/besser82/libxcrypt/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.xz)
|
||||
sha256sums=(e5e1f4caee0a01de2aee26e3138807d6d3ca2b8e67287966d1fefd65e1fd8943)
|
||||
|
||||
prepare() {
|
||||
cd ${pkgname}-${pkgver}
|
||||
|
||||
install -vdm755 build-libxcrypt build-libxcrypt-compat
|
||||
}
|
||||
|
||||
build() {
|
||||
cd ${pkgname}-${pkgver}
|
||||
|
||||
(
|
||||
cd build-libxcrypt
|
||||
|
||||
${BUILD_CONFIGURE} \
|
||||
--enable-hashes=strong,glibc \
|
||||
--enable-obsolete-api=no \
|
||||
--disable-static \
|
||||
--disable-failure-tokens
|
||||
|
||||
make
|
||||
)
|
||||
|
||||
(
|
||||
cd build-libxcrypt-compat
|
||||
|
||||
${BUILD_CONFIGURE} \
|
||||
--enable-hashes=strong,glibc \
|
||||
--enable-obsolete-api=glibc \
|
||||
--disable-static \
|
||||
--disable-failure-tokens
|
||||
|
||||
make
|
||||
)
|
||||
}
|
||||
|
||||
package() {
|
||||
cd ${pkgname}-${pkgver}
|
||||
|
||||
make -C build-libxcrypt DESTDIR=${pkgdir} install
|
||||
|
||||
cp -av build-libxcrypt-compat/.libs/libcrypt.so.1* ${pkgdir}/usr/lib64
|
||||
}
|
Loading…
Reference in New Issue
Block a user