From 1c7b3ff3805af7986a167a7229aee50da0fda625 Mon Sep 17 00:00:00 2001 From: Konrad Borowski Date: Mon, 2 May 2022 17:53:45 +0200 Subject: [PATCH] pages.sr.ht: depend on mailcap This fixes pages.sr.ht#13 because it installs the MIME database in `/etc/mime.types`, as expected by Go's `mime.TypeByExtension` function. The small built-in table used by Go when the MIME database was not found did not contain an entry for the `.txt` extension. --- sr.ht/pages.sr.ht/APKBUILD | 1 + 1 file changed, 1 insertion(+) diff --git a/sr.ht/pages.sr.ht/APKBUILD b/sr.ht/pages.sr.ht/APKBUILD index 38a9cfd..97f04e2 100644 --- a/sr.ht/pages.sr.ht/APKBUILD +++ b/sr.ht/pages.sr.ht/APKBUILD @@ -6,6 +6,7 @@ pkgdesc="sr.ht web hosting service" url="https://git.sr.ht/~sircmpwn/pages.sr.ht" arch="all" license="AGPLv3" +depends="mailcap" makedepends="go" subpackages="$pkgname-openrc" source=" -- 2.45.2