From 7b9ea84afcd48d68c14a5273496a6270ea2f2975 Mon Sep 17 00:00:00 2001 From: psykose <alice@ayaya.dev> Date: Thu, 6 Apr 2023 02:09:09 +0000 Subject: [PATCH] main/font-unifont: rename from unifont --- main/{unifont => font-unifont}/APKBUILD | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) rename main/{unifont => font-unifont}/APKBUILD (77%) diff --git a/main/unifont/APKBUILD b/main/font-unifont/APKBUILD similarity index 77% rename from main/unifont/APKBUILD rename to main/font-unifont/APKBUILD index 53eef41269bc..6355c94c98c5 100644 --- a/main/unifont/APKBUILD +++ b/main/font-unifont/APKBUILD @@ -1,21 +1,26 @@ # Contributor: Breno Leitao <breno.leitao@gmail.com> # Maintainer: -pkgname=unifont +pkgname=font-unifont pkgver=15.0.01 -pkgrel=1 +pkgrel=2 pkgdesc="GNU Unifont glyphs" url="https://unifoundry.com/unifont/index.html" arch="all" options="!check" # No way to test fonts. license="GFDL-1.3-or-later GPL-2.0-or-later WITH Font-exception-2.0" -subpackages="$pkgname-dev $pkgname-tools $pkgname-doc" +subpackages="unifont-dev unifont-tools unifont-doc" source="https://unifoundry.com/pub/unifont/unifont-$pkgver/unifont-$pkgver.tar.gz" +builddir="$srcdir/unifont-$pkgver" build() { - make DESTDIR="$pkgdir" + make } package() { + # renamed from unifont + provides="unifont=$pkgver-r$pkgrel" + replaces="unifont" + # only keep OTF rm font/precompiled/*.ttf make DESTDIR="$pkgdir" install -- GitLab