summaryrefslogtreecommitdiff
path: root/user/smtpd-starttls-proxy
diff options
context:
space:
mode:
authorLaurent Bercot <ska-adelie@skarnet.org>2024-04-15 17:48:59 +0000
committerZach van Rijn <me@zv.io>2024-04-25 02:48:27 +0000
commit847c08cf4c653ea3f8f57af648312a426729ce75 (patch)
tree33f322cac28cdfe3c4b8a7b5425e2ce798d66c30 /user/smtpd-starttls-proxy
parent4d4e34490f1bdfdf62bf35f7d87e25c4fe8ed1d6 (diff)
downloadpackages-847c08cf4c653ea3f8f57af648312a426729ce75.tar.gz
packages-847c08cf4c653ea3f8f57af648312a426729ce75.tar.bz2
packages-847c08cf4c653ea3f8f57af648312a426729ce75.tar.xz
packages-847c08cf4c653ea3f8f57af648312a426729ce75.zip
user/smtpd-starttls-proxy: add -doc package
Diffstat (limited to 'user/smtpd-starttls-proxy')
-rw-r--r--user/smtpd-starttls-proxy/APKBUILD6
1 files changed, 4 insertions, 2 deletions
diff --git a/user/smtpd-starttls-proxy/APKBUILD b/user/smtpd-starttls-proxy/APKBUILD
index 5e287d70c..72c2cc0fc 100644
--- a/user/smtpd-starttls-proxy/APKBUILD
+++ b/user/smtpd-starttls-proxy/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Laurent Bercot <ska-adelie@skarnet.org>
pkgname=smtpd-starttls-proxy
pkgver=0.0.1.3
-pkgrel=0
+pkgrel=1
pkgdesc="An SMTP proxy implementing STARTTLS"
url="https://skarnet.org/software/smtpd-starttls-proxy/"
arch="all"
@@ -10,7 +10,7 @@ options="!check" # No test suite.
license="ISC"
depends="s6 s6-networking"
makedepends="skalibs-dev>=2.14 s6-dev>=2.12"
-subpackages="$pkgname-dev"
+subpackages="$pkgname-dev $pkgname-doc"
source="https://skarnet.org/software/smtpd-starttls-proxy/smtpd-starttls-proxy-$pkgver.tar.gz"
build() {
@@ -26,6 +26,8 @@ build() {
package() {
make DESTDIR="$pkgdir" install
+ mkdir -p -m 0755 "$pkgdir/usr/share/doc"
+ cp -a "$builddir/doc" "$pkgdir/usr/share/doc/$pkgname"
}
sha512sums="55fc24d3923b7f3cf3137f4d36ed90ebfd2b603f55cfb6cd6d9ae3f67ec38706540c21c2f1a6257f5702e0a93dcba2e31fbfb99fae9d27e20002b265e78b0cf9 smtpd-starttls-proxy-0.0.1.3.tar.gz"