From 8ae912903aaa2e3ee9e44ec1de58931d2761c3c4 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Thu, 23 Jul 2015 20:18:39 +0200 Subject: testing/terminus-font: fix pfs dir Also add a terminus-font-doc subpackage Patch from Bernd Lauert ref #4457 --- testing/terminus-font/APKBUILD | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'testing') diff --git a/testing/terminus-font/APKBUILD b/testing/terminus-font/APKBUILD index c80ac44467..1a98fa5875 100644 --- a/testing/terminus-font/APKBUILD +++ b/testing/terminus-font/APKBUILD @@ -14,7 +14,7 @@ depends="" depends_dev="" makedepends="$depends_dev bdftopcf fontconfig mkfontscale mkfontdir perl" install="" -subpackages="" +subpackages="$pkgname-doc" source="http://downloads.sourceforge.net/project/${pkgname}/${pkgname}-${pkgver}/${pkgname}-${pkgver}.tar.gz" _builddir=${srcdir}/${pkgname}-${pkgver} @@ -27,7 +27,7 @@ build() { make \ prefix=/usr \ x11dir=/usr/share/fonts/misc \ - psfdir=/usr/share/kbd/consolefonts + psfdir=/usr/share/consolefonts } package() { @@ -35,10 +35,15 @@ package() { make \ prefix=/usr \ x11dir=/usr/share/fonts/misc \ - psfdir=/usr/share/kbd/consolefonts \ + psfdir=/usr/share/consolefonts \ DESTDIR="$pkgdir" install \ || return 1 + mkdir -p "$pkgdir"/usr/share/doc/$pkgname + for file in README README-BG; do + mv "${file}" "$pkgdir"/usr/share/doc/$pkgname/ || return 1 + done + install -Dm644 "${_builddir}/75-yes-terminus.conf" \ "$pkgdir/etc/fonts/conf.avail/75-yes-terminus.conf" install -Dm644 "${_builddir}/OFL.TXT" \ -- cgit v1.2.3