aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Daudt <kdaudt@alpinelinux.org>2019-06-01 14:47:40 +0000
committerKevin Daudt <kdaudt@alpinelinux.org>2019-06-01 14:56:37 +0000
commit4a8b8439fc56294ecb379e4c288a0f9cad2f3047 (patch)
treea8a866a923808c196a90e1b5804e133ba2b23db3
parent57870e53b5c0681df8f0adf811de539dd5bf505a (diff)
downloadaports-4a8b8439fc56294ecb379e4c288a0f9cad2f3047.tar.gz
aports-4a8b8439fc56294ecb379e4c288a0f9cad2f3047.tar.bz2
aports-4a8b8439fc56294ecb379e4c288a0f9cad2f3047.tar.xz
community/font-bakoma: prevent subpkg depending on itself
-rw-r--r--community/font-bakoma/APKBUILD6
1 files changed, 4 insertions, 2 deletions
diff --git a/community/font-bakoma/APKBUILD b/community/font-bakoma/APKBUILD
index 8134c19a80..9c003c1f59 100644
--- a/community/font-bakoma/APKBUILD
+++ b/community/font-bakoma/APKBUILD
@@ -2,12 +2,12 @@
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=font-bakoma
pkgver=1
-pkgrel=0
+pkgrel=1
pkgdesc="Computer Modern fonts"
url="https://ctan.org/tex-archive/fonts/cm/ps-type1/bakoma"
arch="noarch"
license="custom"
-depends="fontconfig $pkgname-ttf"
+depends="$pkgname-ttf"
subpackages="$pkgname-doc $pkgname-otf $pkgname-ttf"
source="http://mirrors.ctan.org/fonts/cm/ps-type1/bakoma.zip"
builddir="$srcdir/bakoma"
@@ -26,6 +26,7 @@ package() {
otf() {
pkgdesc="$pkgdesc in OpenType format"
+ depends=fontconfig
mkdir -p "$subpkgdir"/$_fontsdir
cp "$builddir"/otf/* "$subpkgdir"/$_fontsdir/
@@ -33,6 +34,7 @@ otf() {
ttf() {
pkgdesc="$pkgdesc in TrueType format"
+ depends=fontconfig
mkdir -p "$subpkgdir"/$_fontsdir
cp "$builddir"/ttf/* "$subpkgdir"/$_fontsdir/