aboutsummaryrefslogtreecommitdiffstats
path: root/testing/terminus-font
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2015-07-23 20:18:39 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2015-07-24 11:43:04 +0000
commit8ae912903aaa2e3ee9e44ec1de58931d2761c3c4 (patch)
tree51e2bee66c0bafea71af912d2b7580d7bc0cec33 /testing/terminus-font
parent56305e26568b93ae7e57231b52b5dd13fb32fadb (diff)
downloadaports-8ae912903aaa2e3ee9e44ec1de58931d2761c3c4.tar.bz2
aports-8ae912903aaa2e3ee9e44ec1de58931d2761c3c4.tar.xz
testing/terminus-font: fix pfs dir
Also add a terminus-font-doc subpackage Patch from Bernd Lauert ref #4457
Diffstat (limited to 'testing/terminus-font')
-rw-r--r--testing/terminus-font/APKBUILD11
1 files changed, 8 insertions, 3 deletions
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" \