From abec7d40d0a7660e575f18f6625e6d74f742ecf0 Mon Sep 17 00:00:00 2001
From: psykose <alice@ayaya.dev>
Date: Thu, 6 Apr 2023 02:11:07 +0000
Subject: [PATCH] main/font-terminus: rename from terminus-font

we name all fonts with font-* for consistency
---
 main/{terminus-font => font-terminus}/APKBUILD | 15 +++++++++++----
 1 file changed, 11 insertions(+), 4 deletions(-)
 rename main/{terminus-font => font-terminus}/APKBUILD (77%)

diff --git a/main/terminus-font/APKBUILD b/main/font-terminus/APKBUILD
similarity index 77%
rename from main/terminus-font/APKBUILD
rename to main/font-terminus/APKBUILD
index 483460183de1..40ff0f9bfe38 100644
--- a/main/terminus-font/APKBUILD
+++ b/main/font-terminus/APKBUILD
@@ -1,17 +1,22 @@
 # Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
 # Contributor: Orion <systmkor@gmail.com>
 # Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net>
-pkgname=terminus-font
+pkgname=font-terminus
 pkgver=4.49.1
-pkgrel=3
+pkgrel=4
 pkgdesc="Monospace bitmap font (for X11 and console)"
 url="https://terminus-font.sourceforge.net/"
 arch="noarch"
 license="OFL-1.1"
 makedepends="bdftopcf fontconfig mkfontscale python3"
-options="!check" # no test suite
 subpackages="$pkgname-doc"
 source="https://sourceforge.net/projects/terminus-font/files/terminus-font-${pkgver%.*}/terminus-font-$pkgver.tar.gz"
+builddir="$srcdir/terminus-font-$pkgver"
+options="!check" # no test suite
+
+# renamed from terminus-font
+provides="terminus-font=$pkgver-r$pkgrel"
+replaces="terminus-font"
 
 build() {
 	./configure \
@@ -40,4 +45,6 @@ package() {
 	ln -s ../conf.avail/75-yes-terminus.conf .
 }
 
-sha512sums="2e3a99960c459a453b5879bebbebeb653f0a22060177bf75c67bbeb7d32cfe1acce9e74a88fdc42e299b6dc402e0708552487abd26e80e985c7d6059b0d445a8  terminus-font-4.49.1.tar.gz"
+sha512sums="
+2e3a99960c459a453b5879bebbebeb653f0a22060177bf75c67bbeb7d32cfe1acce9e74a88fdc42e299b6dc402e0708552487abd26e80e985c7d6059b0d445a8  terminus-font-4.49.1.tar.gz
+"
-- 
GitLab