mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
community/mblaze: add crypto subpackage for S/MIME and OpenPGP
The README.md in the contrib directory states that: [These] scripts [...] are not officially supported or subject to any robustness, portability or stability criteria. However, the scripts for S/MIME and OpenPGP work quite well and are very useful thus I believe that it is worth it to ship these in a subpackage.
This commit is contained in:
parent
b4750990cc
commit
f66ad3104a
@ -2,7 +2,7 @@
|
||||
# Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net>
|
||||
pkgname=mblaze
|
||||
pkgver=0.3.2
|
||||
pkgrel=2
|
||||
pkgrel=3
|
||||
pkgdesc="Unix utilities to deal with Maildir"
|
||||
url="https://github.com/chneukirchen/mblaze"
|
||||
arch="all"
|
||||
@ -12,7 +12,7 @@ depends_dev=""
|
||||
makedepends=""
|
||||
checkdepends="perl-utils"
|
||||
install=""
|
||||
subpackages="$pkgname-doc"
|
||||
subpackages="$pkgname-doc $pkgname-crypto"
|
||||
options="!check" # currently fail on the builder
|
||||
source="$pkgname-$pkgver.tar.gz::https://github.com/chneukirchen/$pkgname/archive/v$pkgver.tar.gz"
|
||||
builddir="$srcdir/$pkgname-$pkgver"
|
||||
@ -35,4 +35,14 @@ package() {
|
||||
"$pkgdir"/usr/share/doc/$pkgname/
|
||||
}
|
||||
|
||||
crypto() {
|
||||
depends="libressl gnupg"
|
||||
pkgdesc="Scripts for using S/MIME and PGP"
|
||||
|
||||
cd "$builddir/contrib"
|
||||
mkdir -p "$subpkgdir"/usr/bin
|
||||
install -m755 mverify msign mencrypt mgpg \
|
||||
"$subpkgdir"/usr/bin
|
||||
}
|
||||
|
||||
sha512sums="809d3a82e89a90bf1dce5abca97155b524290bbaa3c8100efb461f3694c4ff28ed0d1e46d3d74c2fbb96a17cd44ccee315a022d6697a470f82d8d4ee66ab7147 mblaze-0.3.2.tar.gz"
|
||||
|
Loading…
Reference in New Issue
Block a user