Merge pull request #3898 from lazka/remove-libcrypt-devel

Replace libcrypt-devel with libxcrypt-devel
This commit is contained in:
Christoph Reiter
2023-07-14 18:18:19 +02:00
committed by GitHub
2 changed files with 7 additions and 16 deletions

View File

@@ -1,9 +1,10 @@
# Maintainer: Alexey Pavlov <alexpux@gmail.com>
pkgbase=libcrypt
pkgname=('libcrypt' 'libcrypt-devel')
pkgname=('libcrypt')
# 2023-07-14: TODO: remove this package in a year
pkgver=2.1
pkgrel=4
pkgrel=5
pkgdesc="Encryption/Decryption utility and library"
arch=('i686' 'x86_64')
license=('custom')
@@ -27,7 +28,7 @@ build() {
make DESTDIR=${srcdir}/dest install
}
package_libcrypt() {
package() {
pkgdesc="Encryption/Decryption library"
groups=('libraries')
depends=('gcc-libs')
@@ -35,15 +36,3 @@ package_libcrypt() {
cp -f ${srcdir}/dest/usr/bin/*.dll ${pkgdir}/usr/bin/
}
package_libcrypt-devel() {
pkgdesc="Libcrypt headers and libraries"
groups=('development')
depends=("libcrypt=${pkgver}")
options=('staticlibs')
mkdir -p ${pkgdir}/usr
cp -rf ${srcdir}/dest/usr/include ${pkgdir}/usr/
cp -rf ${srcdir}/dest/usr/lib ${pkgdir}/usr/
}

View File

@@ -3,7 +3,7 @@
pkgbase=libxcrypt
pkgname=('libxcrypt' 'libxcrypt-devel')
pkgver=4.4.35
pkgrel=1
pkgrel=2
pkgdesc='Modern library for one-way hashing of passwords'
arch=('i686' 'x86_64')
url='https://github.com/besser82/libxcrypt/'
@@ -60,6 +60,8 @@ package_libxcrypt() {
package_libxcrypt-devel() {
depends=("libxcrypt=${pkgver}")
conflicts=('libcrypt-devel')
provides=('libcrypt-devel')
replaces=('libcrypt-devel')
mkdir -p ${pkgdir}/usr