summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD12
2 files changed, 13 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index fe043664a94..3886c0dbfa1 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,13 +1,15 @@
pkgbase = terminus-font-td1
pkgdesc = Monospace bitmap font (for X11 and console) with td1 patch (centered ascii tilde)
pkgver = 4.49.1
- pkgrel = 2
+ pkgrel = 3
url = http://terminus-font.sourceforge.net/
arch = any
license = GPL2
license = custom:OFL
makedepends = xorg-bdftopcf
makedepends = python
+ makedepends = grub
+ makedepends = freetype2
provides = terminus-font
conflicts = terminus-font
conflicts = terminus-font-otb
diff --git a/PKGBUILD b/PKGBUILD
index 5d96441b58b..c1c94b93d1c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -9,14 +9,14 @@
_pkgname=terminus-font
pkgname=${_pkgname}-td1
pkgver=4.49.1
-pkgrel=2
+pkgrel=3
pkgdesc='Monospace bitmap font (for X11 and console) with td1 patch (centered ascii tilde)'
url='http://terminus-font.sourceforge.net/'
arch=('any')
license=('GPL2' 'custom:OFL')
-makedepends=('xorg-bdftopcf' 'python')
+makedepends=('xorg-bdftopcf' 'python' 'grub' 'freetype2')
conflicts=('terminus-font' 'terminus-font-otb')
provides=('terminus-font')
@@ -43,6 +43,10 @@ build() {
--otbdir=/usr/share/fonts/misc \
--psfdir=/usr/share/kbd/consolefonts
make all otb
+ # build grub fonts
+ for i in *.bdf; do
+ grub-mkfont -o "$(basename "$i" .bdf).pf2" "$i"
+ done
}
package() {
@@ -56,6 +60,10 @@ package() {
install -d "$pkgdir/usr/share/fontconfig/conf.default"
ln -sr "$pkgdir/usr/share/fontconfig/conf.avail/75-yes-terminus.conf" \
"$pkgdir/usr/share/fontconfig/conf.default/75-yes-terminus.conf"
+ cd terminus-font-$pkgver
+ for i in *.pf2; do
+ install -D -m644 $i "$pkgdir/usr/share/grub/$i"
+ done
}
# vim:set ts=2 sw=2 et: