1 # Maintainer: kfgz <kfgz at interia pl>
7 pkgdesc='The old openssl libraries'
9 url='http://www.openssl.org'
10 license=('custom:BSD')
12 makedepends=('rpmunpack' 'cpio' 'gzip' 'bash')
13 source=(http://files.directadmin.com/services/7.2/openssl-${pkgver}-${_pkgv}.i386.rpm)
14 md5sums=('8a9f793cc9fc713551c307072fe718d6')
19 rpmunpack openssl-${pkgver}-${_pkgv}.i386.rpm
20 gzip -d openssl-${pkgver}-${_pkgv}.cpio.gz
26 mkdir -p {lib,usr/bin,usr/share/doc/openssl-${pkgver}}
27 mkdir -p {usr/share/man/man1,usr/share/ssl/CA,usr/share/ssl/certs}
28 mkdir -p {usr/share/ssl/lib,usr/share/ssl/misc,usr/share/man/man5}
29 mkdir -p usr/share/man/man7
30 cpio -i < ${srcdir}/openssl-${pkgver}-${_pkgv}.cpio
32 # Move and delete files and folders
35 rm -R {usr/bin,usr/share/man,usr/share/ssl}
38 ln -s /usr/lib/libssl.so.0.9.6b usr/lib/libssl.so.2
39 ln -s /usr/lib/libcrypto.so.0.9.6b usr/lib/libcrypto.so.2