aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
Diffstat (limited to 'testing')
-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" \