make-ca 1.14-1

This commit is contained in:
xhaa123 2024-10-16 01:57:52 +08:00
parent bfc3b46361
commit dd85f510cd

View File

@ -1,23 +1,28 @@
# Maintainer: Future Linux Team <futurelinux@163.com> # 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=make-ca pkgname=make-ca
pkgver=1.13 pkgver=1.14
pkgrel=2 pkgrel=1
pkgdesc="The Grep package contains programs for searching through files" pkgdesc="The Grep package contains programs for searching through files"
arch=('x86_64') arch=('x86_64')
url="https://github.com/lfs-book/make-ca" url="https://github.com/lfs-book/make-ca"
license=('MIT' 'GPL3') license=('MIT' 'GPL3')
depends=('openssl' 'libp11-kit') depends=('openssl' 'libp11-kit' 'systemd')
makedepends=('systemd') install=${pkgname}.install
#install=${pkgname}.install source=(https://github.com/lfs-book/make-ca/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
source=(https://github.com/lfs-book/make-ca/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.xz) sha256sums=(6391698fe6db16eb190da1aba802bc90c09c8baa4c116d9c65647bea87f190db)
sha256sums=(8671a196bc3e46287bbdf745475697d07fa46bb337071f81509d2b4359cdbbe8)
package() { package() {
cd ${pkgname}-${pkgver} cd ${pkgname}-${pkgver}
make DESTDIR=${pkgdir} install make DESTDIR=${pkgdir} install
install -vdm755 ${pkgdir}/etc/ssl/local
install -vdm755 ${pkgdir}/etc/profile.d install -vdm755 ${pkgdir}/etc/profile.d
cat > ${pkgdir}/etc/profile.d/pythoncerts.sh << "EOF" cat > ${pkgdir}/etc/profile.d/pythoncerts.sh << "EOF"
# Begin /etc/profile.d/pythoncerts.sh # Begin /etc/profile.d/pythoncerts.sh
@ -26,8 +31,4 @@ export _PIP_STANDALONE_CERT=/etc/pki/tls/certs/ca-bundle.crt
# End /etc/profile.d/pythoncerts.sh # End /etc/profile.d/pythoncerts.sh
EOF EOF
install -vdm755 ${pkgdir}/etc/systemd/system/timers.target.wants
ln -sv /usr/lib/systemd/system/update-pki.timer ${pkgdir}/etc/systemd/system/timers.target.wants/update-pki.timer
} }